21
I'm having fully functional user signup / authentication system using Express and Connect middleware.
app.use(express.session({store: require('connect').session.MemoryStore( {reapInterval: 60000 * 10} ) }))
The only problem is that sessions drop every time you perform server restart.
nodemon restarts Node.js every time it detects a file change.
How can I have persistent sessions?