Is this possible? I can’t find any documentation on the subject but from the tests I’ve done so far, a new client id is assigned every time a client reconnects. If its not possible what would be the best workaround? Thanks!
Problem courtesy of: uguMark
At the moment I don’t think it’s possible (I’ve asked the same question myself to `3rd-Eden, Socket.IO core dev).
However you can setup some unique key yourself on the client’s session, that’s the best workaround at the moment and usually people find this ok (for example put the username on the session or another unique id).
Solution courtesy of: alessioalex