the method I'm suggesting soesn't require the use of a database at all (aside from to initially authenticate users. Why not have a structure (call it application.loggedin for arguments' sake) with keys that are structures like so:
keys stored will look like: application.loggedin[cfid&cftoken_ForUser1] application.loggedin[cfid&cftoken_ForUser2] when someone logs in you create these keys and set the val to Now() and on each request loop over application.loggedin and kill everything with a DateDiff() larger than you want to allow. ~Simon Simon Horwith Macromedia Certified Instructor Certified Advanced ColdFusion MX Developer Certified Flash MX Developer CFDJList - List Administrator Fig Leaf Software 1400 16th St NW, # 220 Washington DC 20036 202.797.6570 (direct line) http://www.figleaf.com -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 04 February, 2003 5:09 AM To: CF-Talk Subject: Re: CF Logins and Users Logged In Mmmm Using Simon Horwith's method, would an extra field need to be created in the usertable? He mentioned creating an application scope variable and everytime a user logs in adding a key (structure) to this variable. I may be wrong but by using this method, it seems to me that no alterations are need to my tables which is the best approach I feel. Could somebody confirm this is the case. Also Taco - All users using the system will have javascript enabled - what would your suggestion be to end the users session when they log off? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

