Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


page reload creates new Session ID #273

sixmno opened this Issue · 3 comments

4 participants


each time I refresh the client browser, the connect server assign new sessionID and I see new cookie in client.
I try to make httpOnly false, install new connect, even install other version of node
but nothing works!
It happens only in some clients, in any browsers on it!

any help?

thanks in advance

tj commented

hmm that's odd if it is not a specific browser, might be some weird browser setting I haven't seen this issue personally


I've seen this happen to me when I ran node with Cluster behind nginx proxy.
Or maybe those clients are behind proxy or something like that?


req.session.cookie.expires = false;

It solved my problem!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.