Skip to content
This repository has been archived by the owner on Feb 3, 2020. It is now read-only.

Dont overwrite Headers written by response.setHeader #15

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

jenshimmelreich
Copy link

The original module modifies response.writeHead to include the cookie-Header. The Headers which are setted by response.setHeader won't be arguments to writeHead. If another session is setted by setHeader, it will be lost. This patch adds the session cookie to other cookies, which would be setted by setHeader.

@lynns
Copy link

lynns commented Jan 9, 2012

+1 When I try and set another cookie in my app that is unrelated to the session cookie, it doesn't make it past the cookie-sessions' writeHead function which makes it impossible for me to use normal cookies in addition to the session cookies provided by cookie-sessions.

@pomidor24
Copy link

are you going to solve this issue?

@pomidor24
Copy link

Just to let you know that I just installed Jens forked project and testing it. If I have any issues I will let you know. It would be nice if you can include his changes to the next release

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants