You may maintain a status of a user in database whether he is currently logged in or not. On sign out you can clear the status. Then when a user is trying to log in into the system check whether he is already logged in or not. if logged in then you may through
a message that you have already logged in. But the problem is if any abnormal termination occurs such as he just crossed the site then the status will remain logged in which you have to clear manually. you can use any automated service or administration privilege.
Shuvo
If more posts give you useful answers, Please each as "Answer".
Member
2 Points
27 Posts
Restricting multiple logins
Feb 14, 2011 04:38 AM|satish123|LINK
I have to allow only single user to access the site. We should not allow the same to user to access from another browser.
How we can handle this?
Pls help me to move further..
Regards,
Satish
Contributor
2571 Points
1130 Posts
Re: Restricting multiple logins
Feb 14, 2011 04:52 AM|Shuvo Aymon|LINK
If more posts give you useful answers, Please each as "Answer".
Participant
1499 Points
501 Posts
Re: Restricting multiple logins
Feb 14, 2011 04:53 AM|atulthummar|LINK
Hi Satish,
Kindly refer the below link for your solution
http://bytes.com/topic/asp-net/answers/332231-single-user-login-time
http://forums.devx.com/archive/index.php/t-163891.html
http://thedailyreviewer.com/windowsapps/view/policy-to-allow-user-only-one-login-session-at-a-time-120134845
Atul T.
Please click "mark as answer" if this post helped you.