Many ways to do that. Personally, I'd use a session variable as a flag for a logged-in user, then timeout session variables in 20 min. (if that meets your objective).
You can put a javascript timer in the browser to alert the user when he's getting near his 20 min. timeout. Chris Norloff ---------- Original Message ---------------------------------- From: "Stuart Kidd" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] Date: Fri, 3 Dec 2004 08:42:30 -0500 >Hi guys, > >I remember a long time ago i created a line of code which sat in my >Application.cfm which checked to see whether a logged in user hadn't had any >activity for 20 mins. > >Can anyone please remind me how to do this? > >Thanks, > >Saturday > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Silver Sponsor - RUWebby http://www.ruwebby.com Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186131 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

