Set a Javascript timer on each page with the same timeout as your
session timeout. (Or a minute less to give a warning.)

Then, when the Javascript timer runs out, display a Javascript alert
box. 

-----Original Message-----
From: Mike Kear [mailto:[EMAIL PROTECTED] 
Sent: Sunday, December 19, 2004 7:41 AM
To: CF-Talk
Subject: How to detect if a session has timed out?

I have an application where we want to tell the user that their session
has timed out through inactivity (if it has).

I know how to detect if a session no longer exists, but how do you tell
if it's timed out (rather than the person closing the browser or logging
out)?


--
Cheers
Mike Kear
Windsor, NSW, Australia
AFP Webworks
http://afpwebworks.com
.com,.net,.org domains from AUD$20/Year



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:188191
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to