SyntaxFix
Write A Post
Hire A Developer
Questions
I just had the same problem/question and solved it like this (only client code):
var io = io.connect('localhost'); io.on('connect', function () { console.log(this.socket.sessionid); });