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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Javascript warning before session times out

Status
Not open for further replies.

peter11

Instructor
Mar 16, 2001
334
US
I want to create a javascript that warns a user, "Your session will time out in 2 minutes."

My session timeout is set to 20 minutes in the application.cfm. This is server based.

Javascripts are browser based.

How can I sync these up?

Is there a way to to have "OK" button and "Refresh Session Variables" buttons on the javascript pop up? Having the Refresh Session Variables button reset the session.

Similar to what online banking use.

Or anything along these lines.
 
Check out the <cf_timeout> custom tag at the Macromedia Developers Exchange. It pretty much has what you're looking for.



Hope This Helps!

Ecobb

&quot;My work is a game, a very serious game.&quot; - M.C. Escher
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top