This topic is locked
[SOLVED]

 Session Timeout Notification

4/30/2014 3:04:04 PM
PHPRunner General questions
R
Rapacious author

Hello Everyone =]
I'm looking to see if I can add session timeout notification box to go off 10 minutes before the session timeout hits when filling out forms using PHP Runner. I changed my timeout time to 4 hours, but I would like to have a box popup 10 minutes before the expiration to give users enough time to save their work. Any suggestions?
Rapacious

Admin 4/30/2014

Check Javascript's setTimeout function:

http://javascript.info/tutorial/settimeout-setinterval
Example:

setTimeout("alert('Your session is about to expire')", 1000*60*230);


You can add this function call to Javascript OnLoad event.

R
Rapacious author 5/1/2014



Check Javascript's setTimeout function:

http://javascript.info/tutorial/settimeout-setinterval
Example:

setTimeout("alert('Your session is about to expire')", 1000*60*230);


You can add this function call to Javascript OnLoad event.


Works Perfectly thank you =]