Skip to content
This repository has been archived by the owner on Feb 3, 2020. It is now read-only.

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

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

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

kevingorski opened this issue Mar 12, 2011 · 1 comment

Comments

@kevingorski
Copy link

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
Copy link

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants