Preventing multiple logins useing same username
Posted: Wed Jul 17, 2002 1:51 pm
Hi,
I am new to this forum and I'm not sure whether this topic has been previously discussed, so I apologise if it has. Does anyone have any ideas how to efficently prevent a user to log in with his username more than once at a time. I am using session control and my first idea was to maintain a database of all the users curerently logged in and not to let a user log in if his username is in the database. But, what happens when a logged-in user simply shuts down his browser without logging out previously?
I am new to this forum and I'm not sure whether this topic has been previously discussed, so I apologise if it has. Does anyone have any ideas how to efficently prevent a user to log in with his username more than once at a time. I am using session control and my first idea was to maintain a database of all the users curerently logged in and not to let a user log in if his username is in the database. But, what happens when a logged-in user simply shuts down his browser without logging out previously?