Hey all,


I need to restrict users to one login per username, so I need to check to ensure
that username has not already been logged into the site.


So I am thinking of creating a structure in the application scope in which I
will store the userids that are logged into the system.


As a new person logs on I would check that structure and if I do not find the
userid I would log the person in, and append their username to the structure.


If the userid is in the structure I would need to clear the session variables in
existence for that userid....now..how the heck am I going to do that?
I need to clear it because there is going to be some point where someone's
browser is going to crash on them in the middle of a session, and if I do not
allow the second userid attempt to log in, they will be locked out of the system
until their session clears.


Does anyone know of a better way to do this?


-Gel
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to