socket.io and session?
This won’t work for sockets going over the flashsocket transport (it doesn’t send the server the needed cookies) but it reliably works for everything else. I just disable the flashsocket transport in my code. To make it work, in the express/connect side, I explicitly define the session store so I can use it inside socket: … Read more