Open terrasoff opened 10 years ago
Is this still an issue / have you found a solution?
I get an undefined session with connect-mongo.
Any idead where the issue is?
@MrHalfman are you using Sails with the connect-mongo
module? I've a Sails app with that module too and I'm struggling with the socket.io sessions...
Furthermore, are you using passport
?
Keep in mind if you're using socket.io >= 1.0 you don't need this module anymore. There's a simpler way in the readme file. Otherwise feel free to send PR's as needed.
ok, i setup session.socket.io and my socket is working. But working with session i got javascript object instead of mongo record. So i can't perform this code (as shown):
Becouse of you get unserialized record:
https://github.com/kcbanner/connect-mongo/blob/master/lib/connect-mongo.js