We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, I have this session
app.use(session({ secret: 'changeme' , cookie: { secure: false, maxAge: new Date(Date.now() + 3600000), } , resave:false, saveUninitialized:false, store: new SkinStore(db) }));
when using flash it will stuck on the session and not to be expired ! should I destory the flash session manually
The text was updated successfully, but these errors were encountered:
+1
Sorry, something went wrong.
I don't often use flash so I cannot help beyond this: maxAge should be an integer in milliseconds, not a date. https://github.com/expressjs/session#cookiemaxage
maxAge
No branches or pull requests
Hello,
I have this session
when using flash it will stuck on the session and not to be expired !
should I destory the flash session manually
The text was updated successfully, but these errors were encountered: