4 ms·
Just curious - what format are the user IDs? I thought they may have been IP addresses simply converted to an int, but if that's the case it's been done in a wa
by dpedu 6y ago
Just curious - what format are the user IDs? I thought they may have been IP addresses simply converted to an int, but if that's the case it's been done in a way I can't reverse.
- ALittleLight 6y agoThe user IDs don't really encode any information. They are just there to associate a history with a user. When a user visits the page there's a check to see if they have a user id in local storage, if not then it gets the current time and hashes it to produce a new userId which is stored in local storage for future use.