Click here to Skip to main content
16,004,686 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have to login a webpage by single user access. So if this user already logged in some other system then should not login by that same user credentials if other user want to login then have to login. So how to do this?
Posted
Updated 14-May-15 20:41pm
v2
Comments
Sinisa Hajnal 15-May-15 3:22am    
"If this user is already logged in some other system" - what system? Can you please describe the setup? What are the limitations? What other user?
abbas azaad 15-May-15 5:30am    
system mean computer,user mean who can access application

The web is stateless so there is no way of knowing who is "logged in". People ask for this requirement a lot but there is no reliable way of doing it.
 
Share this answer
 
you need to handle user session in Database.
 
Share this answer
 
Comments
abbas azaad 15-May-15 7:09am    
how is it?
Harshad Kathiriya 15-May-15 7:36am    
May be below link will help you

http://geekswithblogs.net/Frez/archive/2010/05/17/preventing-a-user-from-having-multiple-concurrent-sessions.aspx

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900