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

Maxim Dounin mdounin at
Thu Jul 21 15:35:45 UTC 2011


On Thu, Jul 21, 2011 at 11:18:17AM -0400, ilya wrote:


> Now, I just stumbled upon something I didn't notice yesterday: the
> property that I save on request session - the one that I can't get to
> work - apparently DOES work sometimes. Basically, if I keep logging in
> and requesting resource - it works on some attempts. However, if I keep
> requesting the resource after successful attempt - it breaks after few
> requests and session goes back to original state.

Ok, so basically everything works fine but breaks sometimes, 
right?  It doesn't looks like nginx issue for me, probably 
something wrong with session storage on backend side.

Maxim Dounin

More information about the nginx mailing list