Proxying to node.js + express.js, session doesn't persist

ilya nginx-forum at nginx.us
Thu Jul 21 16:28:39 UTC 2011


> Are you see sessions not being flacky while working directly with
> your backend?

Correct. I've tested backend standalone and this doesn't happen. Notice,
that in requests above connect.sid is changing every request. That is
not supposed to happen - with standalone backend connect.sid value is
constant across requests and changes either when user re-logins or it
expires.

Can it be because nginx talks HTTP/1.0 to backend?.. Ugh.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,212747,212768#msg-212768



More information about the nginx mailing list