aspose file tools*
The moose likes JSP and the fly likes How to maintain session time out in parent window and popup windows Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "How to maintain session time out in parent window and popup windows" Watch "How to maintain session time out in parent window and popup windows" New topic
Author

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

ayyappan Bas
Ranch Hand

Joined: Oct 11, 2008
Posts: 39
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?


Thanks & Regards
Ayyappan
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61415
    
  67

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to maintain session time out in parent window and popup windows