Need a way to set Redis Session MaxAge #41

Closed
drypot opened this Issue Mar 2, 2012 · 3 comments

Comments

Projects
None yet
4 participants
@drypot

drypot commented Mar 2, 2012

Session cookie maxAge default value becomes null in Connect 2.0.
I think there must a way to set redis session maxAge separately.

@tj

This comment has been minimized.

Show comment Hide comment
@tj

tj Mar 2, 2012

Owner

yup agreed, it will definitely be needed

Owner

tj commented Mar 2, 2012

yup agreed, it will definitely be needed

@dstroot

This comment has been minimized.

Show comment Hide comment
@dstroot

dstroot May 9, 2012

Any progress on this?

dstroot commented May 9, 2012

Any progress on this?

@chirag04

This comment has been minimized.

Show comment Hide comment
@chirag04

chirag04 Oct 28, 2013

Collaborator

u can pass ttl as an options, else it will use the connects maxAge configured.

https://github.com/visionmedia/connect-redis/blob/master/lib/connect-redis.js#L118-L124

Collaborator

chirag04 commented Oct 28, 2013

u can pass ttl as an options, else it will use the connects maxAge configured.

https://github.com/visionmedia/connect-redis/blob/master/lib/connect-redis.js#L118-L124

@chirag04 chirag04 closed this Oct 28, 2013

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