tj / connect-redis

Redis session store for Connect

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Session is expired before TTL time.

nisudave43 opened this issue · comments

app.use(session({
key: COOKIE_KEY,
secret: 'key',
store: new RedisStore({ host: url port: portno, client: client, db: db, ttl: 606024100}), //seconds 100 days
resave: false,
saveUninitialized: false,
cookie: {
domain: DOMAIN,
maxAge: 60
6024100*1000 //milliseconds 100 days
}
}));

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

This issue was closed because it has been stalled for 5 days with no activity.

What is the result you get? Also, have you tried just setting the maxAge? Keeping this open to see if anyone else has experienced this.

This issue was closed because it has been stalled for 5 days with no activity.