Skip to content
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

is touch supported so we can use resave false? #50

Closed
dgobaud opened this issue Dec 19, 2016 · 2 comments
Closed

is touch supported so we can use resave false? #50

dgobaud opened this issue Dec 19, 2016 · 2 comments

Comments

@dgobaud
Copy link
Contributor

dgobaud commented Dec 19, 2016

The Express Session docs https://github.com/expressjs/session recommend setting resave to false but only if the Store supports the touch method. Does this implement touch? The docs should be updated to indicate the answer.

@mweibel
Copy link
Owner

mweibel commented Dec 19, 2016

SequelizeStore.prototype.touch = function touchSession (sid, data, fn) {

yes ;)
do you have a proposal for how to update the docs?

@dgobaud
Copy link
Contributor Author

dgobaud commented Dec 19, 2016

thanks! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants