I\'m (almost) successfully using Node.js with Express and Redis to handle sessions.
The problem I\'m having is that the session is not kept when I use res.redirect
res.redirect
Surely you need to save that session in some way, this might work.
req.session.regenerate(function(){ req.session.username = username.toString(); res.redirect('/home'); });