session
session copied to clipboard
createSession
In the line https://github.com/expressjs/session/blob/master/index.js#L347 say
store.createSession(req, ses);
assume that must be programmed in that role?
That, and index.js also uses Store.on. So far I've been only able to implement a store if I have store extend the prototype defined in store.js. To fix this, we could instantiate a Store object in index.js and then extend it with the provided Store methods. PR?
New link to line: index.js#L222
@alejonext I'm not really sure what you are asking.
Relevant? https://github.com/expressjs/session/blob/e21cc9b52be1ccd5c7ef6158e406f62d9f0e0fa4/session/store.js#L67-L84