ca98am79 / connect-dynamodb

DynamoDB session store for Connect
http://ca98am79.github.com/connect-dynamodb/
MIT License
144 stars 66 forks source link

add `.touch(sid, sess, fn)` method #23

Closed dantman closed 7 years ago

dantman commented 9 years ago

express-session now supports a .touch method on session stores.

This method should just update the expiry. It allows you to set resave: false and avoid race conditions that cause session data trampling.

Hmachalani commented 7 years ago

+1

ca98am79 commented 7 years ago

implemented with #43