When running node js in production mode, this warning is logged :
Warning: connection.session() MemoryStore is not
designed for a production environment, as it will leak
memory, and will not scale past a single process.
Doing a brief research, i found that i should use other alternatives for session storage by passing express-session-mongo or express-session-redis.
My questions :
- Are this solutions built for expressJs working with express.io ?
- Is there a solution to solve the problem without using one of theese ? As you can see, using one of them will force me to install mongo or redis which is not good in my case.
Thank You !