visual studio 2008 - How do i log off the user from the initial location when he logs in from a different location?(asp.net web site) -
I am creating a web site in Visual Studio 2008.
I log in to the current user, but log out any other person logged in under the same user name as the current user. (When you log in from a different location, it is like a U! M: it indicates you outside of the initial location) to log in and sign up I use the Visual Studio Wizard I am and log in to the seat.
Any thoughts?
How to check whether they already have via the application_AuthenticateRequest method in Global.asax.cs Are logged from. Of course, to do this, you will need to initially put some sort of table from where they were logged in. You can obtain and use the IP address of the user to determine, however, the proxy servers from different ISPs will bring wrinkle in that method. Alternatively, you can use a cookie to set your GUID for the first time, and then check to see if the same GUID is in subsequent login sessions, to determine whether you have your second Want to end the session.
Its Start
Comments
Post a Comment