Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need Javascript timer code to track session timeout

Status
Not open for further replies.

tawb

Technical User
Sep 19, 2006
1
CA
Looking for example javascript code that reads the session timeout set by login authentication page and run as a timer to intercept the user before session times out (popup or better yet some neat AJAX div with a status message) telling them how much time they have left and hence they should SAVE their data (form input); if they don't the application redirects to the login page and all data is lost.
 
Hi tawb!

What kind of solutions have you tinkered with for this problem? You can solve this many ways, including the use of setTimeout() and setInterval() to give you a means to check times etc using javascript.

Let us see what you've already done, and I'm sure someone can chip with some help as you progress toward a solution.

Cheers,
Jeff

[tt]Jeff's Blog [!]@[/!] CodeRambler
[/tt]

Make sure your web page and css validates properly against the doctype you have chosen - before you attempt to debug a problem!

FAQ216-6094
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top