Click here to Skip to main content
15,905,967 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
My user wants to block multiple registration from single pc.
Can any 1 suggest any option here?

Which can work in mobile device too
Posted
Updated 20-Mar-15 4:24am
v2

Hello,

Look for client ip address and block it. if you are using web apps, in the HTTP request you can get using REMOTE_ADDR key.

Hope this helps.
 
Share this answer
 
Comments
Hetal Jariwala 24-Mar-15 1:48am    
Client can change their public ip
You can't really do this as the web is stateless so the server doesn't know who is actively "logged on". If you rely on users explicitly logging out I guarantee they just won't do it and admin will spend a lot of time unlocking locked accounts. If there is a reason they don't want multiple users logged in then tackle that reason rather than trying to implement something that isn't possible.
 
Share this answer
 
Comments
Hetal Jariwala 24-Mar-15 1:51am    
You are correct we've decided to validate each registration by their mobile number so in that we can validate unique id because a person may have multiple email ids but not more mobile numbers

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