roccomuso / memorystore

express-session full featured MemoryStore layer without leaks!
MIT License
120 stars 20 forks source link

Updates example setup with resave option in README #19

Closed same31 closed 4 years ago

same31 commented 4 years ago

I noticed the "touch" method was defined in this store implementation, so to avoid the deprecated warning about undefined resave option in express-session and according to their documentation, I came to the conclusion the value to use with this store would be "false".

I hope my understanding is correct!

roccomuso commented 4 years ago

Correct. The touch method is implemented so it would be safe to put false.