File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Alert user before session timeout Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Alert user before session timeout" Watch "Alert user before session timeout" New topic
Author

Alert user before session timeout

Srinivasarao Borra
Greenhorn

Joined: Aug 01, 2006
Posts: 7
I need some help displaying an alert to the user of their session expiration. If the click okay I need some type of server call that resets their session time but maintains their session variables.

Please help as this is very critical.

Srinivas
Purushoth Thambu
Ranch Hand

Joined: May 24, 2003
Posts: 425

I need some type of server call that resets their session time but maintains their session variables.


This is javascript related one, javascript support functions which can be called after "N" seconds. On page load event call setTimeout() function with function to be invoked and timeout period. On the timeout function you can alert the user and based on the response you can make asynchronous request to the server to keep the session active.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Search Google for

Pascarello Session Timeout

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Alert user before session timeout
 
Similar Threads
Display server message
Session management configuaration Issue
Session Timeout Handling through java script
jtable
Alert user before session timeout