Click to See Complete Forum and Search --> : Using sessions to block multiple logins from same user.


gabriel-knight
August 31st, 2003, 01:28 PM
I am trying to figure out how to use the temporary session files and/or information to be able to tell if a user is logged in already to block from having more than one person log into the site with the same username and pass. Any help would extremely be appreciated.

Thanks in advance.
Gabriel Knight
:)

columbus2003
August 31st, 2003, 10:25 PM
1)If it is possible to have a database access, you can control user-login by a flag column, or ....

2) If you want to avoid using database. there's Application Object in ASP. You can store your user-login information as an Application variable(you may need an array)
refer : http://msdn.microsoft.com/library/default.asp?url=/library/en-us/iisref/htm/ref_vbom_apo.asp