> hi... anyone know how can i restrict only 1 user login at a time?

When someone logs in, set an application variable to 1. Set the default to
0. Set the application timeout to a short period, say 5 minutes.

Allow the user to log out manually, resetting the application variable. If
they just leave without logging off, it'll reset itself within 5 minutes
anyway.

When someone logs in, just check the status of the variable and allow /
disallow accordingly.



-- 
Aidan Whitehall <[EMAIL PROTECTED]>
Netshopper UK Ltd
Advanced Web Solutions & Services

http://www.netshopperuk.com/
Telephone +44 (01744) 648650
Fax +44 (01744) 648651

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

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to