Flotype/now — Issue #184: nowjs.sessions is empty
Author: FireChat
Created: 2012-03-09 01:26:54+00:00
State: open

I'm using Express sessions, and can read session data from req.session in the Express application object. However, I'm not able to read data from this.user.session because nowjs.sessions is never populated. The callback function in this block of code in now.js (starting line 210) never seems to get invoked:

if('use' in server && 'stack' in server && 'route' in server) {
server.use(function(req, res, next) {
self.sessions[req.sessionID] = req.session;
next();
});
}

See issue #175 which may be related / identical. Thanks.