• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to maintain session time out in parent window and popup windows

 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am developing an application where there are two windows named "parent window" and "popup window".when i click a button from parent window it opens a popupwindow where i developed a application for writing a exam. The session time out i had set as 30 minutes in web.xml.When i click the button from parent window and popup window opens and exam starts and i had set exam time as 60 minutes,but after 30 minutes the session gets expired in popup window since the session time out in web.xml is 30 minutes.This is where i am encountering the problem because of this i am not able to write the exam.How can i solve this problem and i dont want to change the session time out in web.xml, as the exam time changes for each exam?
 
Sheriff
Posts: 67747
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You'll either need to increase the session time-out value. or add an Ajax "pinger" to the exam pages to keep the session active by making requests back to the server at regular intervals.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic