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.
Cookie-Headers setted by response.setHeader, won't be overwritten
Erster Versuch das Handling an das express/session-Modul anzupassen
timestamp fuer session
package.json mit neuer Syntax
+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.
are you going to solve this issue?
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