Open unusualbob opened 9 years ago
i don't understand your issue. in my opinion it's working with the versions you described.
What are you expecting to happen?
Do you just missed to call req.session.upgrade
, witch will create a session and cookie?
I created a runnable to show you a working version of your code. http://runnable.com/VWvz-PcqEWAkkshG/connect-redis-session-issue-11-test-for-node-js-and-hello-world Can you describe the case in detail using this example?
This module looks promising due to it's support for deletion of all user sessions, but so far I have been unable to get a cookie via a simple GET request.
A GET request to
localhost:3000/cookie
results in no cookie set in the response. The debug in console saysno SID found so run next
. This works correctly in basically all the other session middlewares I've tried, but not this one.Relevant versions:
connect-redis-sessions@1.2.0
express-session@1.9.3
cookie-parser@1.3.4
Redis standalone server
2.8.19