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
{{ message }}
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
Problem with duration
I tried this multiple times and now I really don't understand why this is happening?
const sessions=require('client-sessions'); app.use(sessions({ cookieName: 'usersession', secret:'keeping it secret', duration:1000*60*2, }));
In the above code, the duration shoud be 2 minutes.
But, it looks strange in the cookies storage in my browser.
The cookie should expire in 2 minutes.
The browser I am using is Firefox Developer Edition.
The text was updated successfully, but these errors were encountered: