I am creating a webapp and I could use a solution that allows me to uniquely identify the user's computer.
The reason for this is that after the user logs into the application, he can start several sessions (which are stored in mySQL) associated with the application, however, the sessions should be accessible only from the computer into which the session was initiated.
I cannot use cookies, since the application must allow users to close the browser, restart the computer, etc., without risking losing a user session.
At first I thought that I could get something like a serial board. Naah, it won't happen.
Then I thought about generating an MD5 hash based on the remote address + MAC address of the users, until I found out that this was only possible using older versions of IE with ActiveX.
Then I wondered if all the Chrome installations had some unique browser identifier that I could use? ... Could not find anything useful.
Any great ideas on how to generate a unique string based on the user's computer?
source share