I'm trying to achieve the effect of having a 20-minute timeout on sessions as well as expiring the session on browser close.This works to achieve a session timeout:cookie: { maxAge: sessionTimeout * 1000 } And this kills the session on browser close:cookie: { expires: false } But used together, the expires: false overrides the other. How do you get both?
Submitted January 06, 2018 at 12:39AM by 64bitHustler
No comments:
Post a Comment