Closed actuy closed 6 years ago
Add the middleware like this, use maxAge to set the time, but don't work. The cookie didn't be invalid. Why?
app.use(session({ maxAge:5000 }))
Add the middleware like this, use maxAge to set the time, but don't work. The cookie didn't be invalid. Why?