Hey I was looking at socket.io and I was wondering if the socket.id persists even after a disconnect ? I am thinking it does not does anyone have any prior experience with disconnects and session management?
I was thinking of using the socket.id to be the primary key to access the user session state. Though I am worried about it not being associated with the user on a disconnect leaving a orphaned user on the server side.