You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am implementing a custom session store (on Mongo), and I was getting an error about a createSession() function not being implemented. I further investigated and found out that this method was not implemented by the MemoryStore as well, but that it was implemented in the /session/store.js file.
Is that a mistake?
Why not just put req.session = new Session(req, sess); there instead? It makes much more sense...