Restrict same user to login on different machines

Posted by Sahoo under ASP.NET on 6/12/2012 | Points: 10 | Views : 1340 | Status : [Member] | Replies : 2
Hi

I got a question which is like -

I want to restrict same user to login on different machines over the network connection at same time .What extra column are needed in user table to track session , ip address so on to achieve it.




Responses

Posted by: Santhiram on: 6/12/2012 [Member] Starter | Points: 25

Up
0
Down
You can add these three new columns to the User table so that you can track if same user is logged in on same or different machines.

IsLoggedIn : To ckeck if the particular user is already logged in or not.
Session ID : To check if the same user instance is opened.
IP Address : To check if the same user is on same or different PCs.

Thanks
Madhu

Sahoo, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sahoo on: 6/13/2012 [Member] Starter | Points: 25

Up
0
Down
Thanks Santhiram

Can u give details of suggestion.Is IP address is alone sufficient to distinguish differnet computers on same/different network.


Sahoo, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response