You cannot know whether the same user is using different instances of the user, and also does not know if the user is using two different computers, etc.
You can limit the maximum number of open sessions for each user, but note that a cookie is only a serial number that can be entered into another browser instance as a header. If the user is located on the same subnet, you cannot even distinguish this case from it by the IP address.
I mean that everything that reaches the clientβs area is in no way subject to your control. Therefore, I am sure that although you could add some obstacles, you can never control it.
In any case, here are some obstacles:
- Limit entry to only one.
- Session cookies, domain cookies, hidden text input field.
- A Java applet that does something weird (like getting a local IP address from subnets or other information if allowed).
- A flash program that does something weird.
- Tracking remote IP address.
- Combination of the previous.
source share