hi, I've read www.danielbaulig.de/socket-ioexpress/ and now I can access the session as expected, but changing its data still does not work, at least not with easy value assignment
here is my code: var hs = socket.handshake; hs.session.socket = socket.id; then I try to access the socket id getting the session back from the sessionStore statusapp.Users.findOne({_id: ObjectID(character.get('user'))}, { success: function(user) { var sid = user.get('session'); sessionStore.get(sid, function(err, session){ // session.socket == undefined :( statusapp.sockets.get(session.socket).volatile.json.send(message) }) }, error: function(error) { throw err; } }) how can I store and retrieve the socket id in the session? Viktor -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en