I\'m trying to use redis for sessions in my express app.
I do the following:
var express = require(\'express\'); var RedisStore = require(\'connect-r
Sessions won't work unless you have these 3 in this order:
app.use(express.cookieParser()); app.use(express.session()); app.use(app.router);
I'm not sure if router is mandatory to use sessions, but it breaks them if it's placed before them.