Closed jwangnz closed 7 years ago
Hi tsing,
I thought about this, but didn't think that sessionId would be a reliable value for any middleware to use, because of session's regeneration / rolling id feature. Any middleware can regenerate the whole session, or roll the session id at any time, which would invalidate the previously saved sessionId value without notice.
as koa-generic-session has
this.sessionId