- Messages
- 4,148
- Reaction score
- 5
- Points
- 38
I am curious as to what the chances that 2 separate entities/computers/people have the same IP address ?
I have created a login system that uses cookies and logs the users IP and a few other details in the db. When creating a new cookie it clears the table of all entries that have the same IP. So if someone was to have the same IP then they would be logged out. Should I rather have it only clear the entries for that IP and the users id ?
As always, I am generous for little bits of info/feedback and will give credits where due !
I have created a login system that uses cookies and logs the users IP and a few other details in the db. When creating a new cookie it clears the table of all entries that have the same IP. So if someone was to have the same IP then they would be logged out. Should I rather have it only clear the entries for that IP and the users id ?
As always, I am generous for little bits of info/feedback and will give credits where due !