Groups | Blog | Home
all groups > asp.net > november 2003 >

asp.net : How do I restrict to the same user's double_login?


Lawrance
11/30/2003 11:54:58 PM
DearAll:

How do I restrict to the same user's double_login?
Is there any way to solve this problem under "user closed browser" or
"computer crash" condition ?


Best Regards,
Lawrance Chang

Bhaskardeep Khaund
12/1/2003 2:02:52 AM
Hi,

You can use a database field or a cookie for check whether the login is =
active or not. If it is don't let the second user login. Well, cookie is =
a viable option of take care of issues like user closed browser or =
computer crash. Make a cookies which expires when the session of that =
user ends. If you don't define its expirery time and date, by default it =
would expire when the user session ends.

Hope this helps

AddThis Social Bookmark Button