This might work:

1) Capture the session start time when your user logs in as a session var.
2) Pass this session start time to a javascript function on every page that
does your countdown (the javascript function calculates the difference
bewteen the current time and the session start time)
4) If the time diff is less than 5 minutes and the user hasnt been warned
yet launch a popup window that:
        a) updates a session var that indicates that the user has recieved the 5
minute warning
        b) warns user

HTH,
Duane Boudreau,
Chief Techical Re-Director
HexaInteractive, LLC
http://www.hexainteractive.com
603.620.8797


-----Original Message-----
From: Neil H. [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 22, 2001 10:59 AM
To: CF-Talk
Subject: Session Solution.


I have been skirting the issue here for a while I am simply trying to notify
a user when their session will timeout.  I would like it to count down.
Like a dialog box that says you will timeout in 5 minutes and counts down?

Any ideas?

Thanks,

Neil
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to