Closed kipraske closed 8 years ago
Right now I was setting up sessions to run on the user object. Though in hindsight perhaps I should persist the session keys in the mongodb instead and have them expire after awhile if needed. It will take some thinking.
It seems like having all of these inactive users in memory may be a bad idea after awhile - though perhaps maybe not.
I implemented a cookie-like system using tokens stored in the browser's local storage
We have the session ids saved in memory, we just don't have the cookie parser set up quite yet.