Thanks!

I will take a deeper look at those. But for quick fix, I just
installed [email protected] and it seems to work ok. For some reason, that
was the version npm gives on OS X while on linux, it gave the 3.
I'm having a problem with not getting the req.cookies["connect.sid"]
during the first call. Only thing I figured is to make the client
first call /ping to set the cookie. So, does it make sense to ask
about that before moving to version 3?

On Thu, Apr 19, 2012 at 9:30 AM, mscdex <[email protected]> wrote:
> On Apr 19, 2:29 am, mscdex <[email protected]> wrote:
>> I thought so.... some things have changed from 2.x -> 3.x.
>>
>> IIRC, in Connect 2.x you need to specify the secret in the call to
>> cookieParser instead of the session 
>> middleware:http://www.senchalabs.org/connect/cookieParser.html
>>
>> Additional material worth reading:
>> https://github.com/visionmedia/express/wiki/Migrating-from-2.x-to-3.x
>> http://www.senchalabs.org/connect/
>
> Also, here's the docs for the new parameters for the session
> middleware: http://www.senchalabs.org/connect/session.html
>
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines: 
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en



-- 
HG.

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to