cookie's expire has a problem in session middleware. #874

3musketeer opened this Issue Aug 24, 2013 · 1 comment

2 participants


I use connect-mongo in express.

      secret: 'abc',
      cookie: { maxAge: 900000 },  
      store: new mongoStore({
        url: config.db,
        collection : 'sessions'

the session's expire has change when I request web's pages,but the cookie's expire isn't change.

so,I logout soon.


merging into #328 which i see you commented in as well

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