Click here to Skip to main content
15,905,322 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Guys.

I want to implement a kind of security on my ASP.NET Application. I have created created an ASP.NET application that accept users login information, but if i should login on one system on the network into the application, i realize that i can also login into the application again using another system. Please how can i put a bar to that allowing my ASP.NET application to only let one user login into there account at a time. And also if a user try loging in three times and failed, i want to close display an error to the user and redirect to another page.


Thanks
Posted

1 solution

You can check the REMOTE_ADDR server variable to get the remote client IP address and disallow the second connection.
 
Share this answer
 
Comments
ahmedfaruk88 11-Oct-11 11:41am    
How can i do that, any kinda code example is very welcome?

Thanks

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