I've done this before. I added a column to the database called "lock" that was a true/false, plus I had a timestamp field. Once a user logged in, I set the value to true. Logging in checked for this value, and if set, wouldn't allow the user to login. I did an update on the table in the onrequestend.cfm file that would update the timestamp. Checking the timestamp to see if the session had expired was an easy way of logging an inactive user out.
Pete ----- Original Message ----- From: "Thanh Nguyen" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, September 30, 2002 1:55 PM Subject: How to prevent multiple logins? > How do I prevent multiple users loggin in a a same time using the same > account? > > I'm using session variables to track auth users. > > Thanks. > > Thanh > > > > ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

