Click here to Skip to main content
15,881,089 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to check the users website login in Asp.net


i completed an ASP.NET website with Login screen. It is having levels of login like admin,user...etc.

Suppose if an employee logged in to my website from one pc and tried to login for the same employee from another pc,i need to display a message saying that same employee logged in another pc and need to logout from the first login.

Same has to be done with same pc different browser and same browser different tab login.(same as gmail or facebook login).

Please tell any method to do the same

Note:Without using Membership Concept(ASP.NET-3.5,SQL server 2008).
Posted

Perhaps you need to start here: https://msdn.microsoft.com/en-us/library/eeyk640h%28v=vs.100%29.aspx[^]. :-)

—SA
 
Share this answer
 
This isn't possible as the web is "stateless"; your web server doesn't know who is logged in at any one time, it can only process requests when they are made, there is no permanent connection between client and server so it has no way of knowing if you are still there, still "logged in" or anything else.
 
Share this answer
 

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