Cookie field in "this.user" is empty.

23 views
Skip to first unread message

Orthonormal

unread,
Sep 23, 2012, 3:44:52 PM9/23/12
to no...@googlegroups.com
Problem described here: http://stackoverflow.com/questions/12555626/nowjs-cookie-field-in-this-user-is-empty.

Code = nowjs.on('connect', function() { console.log(this.user); })

Output = { clientId: ' <something> ', cookie: { } }

Problem

The cookie field is empty. (and there is no session entry but I heard that is an official problem). 

Additional Information: I am also using ExpressJS, PassportJS, Mongoose, session-mongoose. I initialized NowJS after configuring Express.

Why is my cookie field empty and how can I get it populated?

Orthonormal

unread,
Sep 23, 2012, 8:30:17 PM9/23/12
to no...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages