Click here to Skip to main content
15,920,217 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
I currently have an application which allows users to login to the system.

Problem i am having is that at current the same username can be logged in from as many computers as they wish.

I was thinking of creating a SQL table that will record the user when they log in.
The problem i for see with this method is what if they login from computer at workplace and then go home and try login and the user will be locked because they have not logged out or just closed the browser.

Please not my application is a web based application.

Please could you advise as to what would be the best way to go about creating a user lock.
Posted

1 solution

 
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