You should use the Application scope to determine who is logged-in.

First, you need a login form.

When the login form is submitted, first see if the username exists in an
array that is stored in the Application scope.

If the username exists in the array, deny further access.

If the username does not exist in the array, then upon successful
authentication, add the username to the Applciation-scoped array.

Thanks,
Mike

-----Original Message-----
From: Davide Campo [mailto:[email protected]] 
Sent: Tuesday, October 20, 2009 3:18 AM
To: cf-talk
Subject: Unique User Login


Hi,

i need to know how to create a Unique User Login in my app: when a user
are logged in my app i want that nobody can log-in with the same
username. I know that i must use the client variables but i don't
understand which are the single steps to do it.

thanks for help. 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327363
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to