-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
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
resave session on each request even if resave is set to false #136
Comments
The latest version of this module includes a new option "disableTouch" which could help - also implemented by @mmilleruva in the referenced pull-request above. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there,
in the main modul for express sessions ( https://github.com/expressjs/session ) there is an issue for "resave" config.
expressjs/session#891
Maybe it is possible to work around this behavior in this store here?
I see in my sql query log on every client requests 2 sql queries (SELECT and UPDATE) for each client session...
Do you have any idea how to limit this? Like successed by the issue owner in the linked issue (max-age 80% => resave) :)
Greetings
The text was updated successfully, but these errors were encountered: