Closed
Description
Hi,
Why is it that this function: https://github.com/expressjs/session/blob/master/session/session.js#L47-L49
... doesn't look more like this:
Session.prototype.touch = function(){
this.resetMaxAge();
if (typeof this.req.sessionStore.touch === 'function') {
this.req.sessionStore.touch(this.id, this);
}
return this;
};
i.e. touch also the session in store?