Doesn't seem to work with latest versions of node & connect #7

Open
kevingorski opened this Issue Mar 12, 2011 · 1 comment

Comments

Projects
None yet
2 participants

When I upgraded to the 1.x version of Connect it looks like it broke this module. I get the following error on the first request:

ERROR TypeError: Object function (req, res, next){

    // Read session data from a request and store it in req.session
    req.session = exports.readSession(
        s.session_key, s.secret, s.timeout, req);

... rest of the method...

        next();

    } has no method 'get'

Do you have plans to support the new version of Connect?

rslijp commented Mar 15, 2011

I've got slightly different behaviour, but it also broke with the latest version of connect. In my case a new session is created with each request. I don't see the cookie in the browser. And I don't see the cookie being send in the response header (firebug).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment