matching connect-redis session with cookie ttl

v1.18.x
Julian Lam 12 years ago
parent 4e48ab2363
commit 4416f8530d

@ -66,7 +66,7 @@ var express = require('express'),
app.use(express.session({
store: new RedisStore({
client: redisServer,
ttl: 60*60*24*14
ttl: 60*60*24*30
}),
secret: nconf.get('secret'),
key: 'express.sid',

Loading…
Cancel
Save