While not comletely foolproof I have done using a cookie that keeps track of 
the clients view of whether they are logged in or not. If the cookie says they 
are logged in, but there is no session, then the session has timed out.
 
Just need to set it to something to indicate they are logged in, then remove it 
when they logout.

Cheers
 

Mike Kear <[EMAIL PROTECTED]> wrote:
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

                
---------------------------------
Win a castle  for NYE with your mates and Yahoo! Messenger 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:188229
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to