javascript - Node client-sessions not deleting on closing browser -


i'm using mozilla/node-client-sessions manage user log-in. have set 'ephemeral : true', cookie doesn't deleted on closing browser. suggestions?

thanks help!

app.use(sessions({   cookiename : 'userloggedin',   secret : 'asfdgijhascbjaksgdoausdasnmldaspdoxja',   duration : 24 * 60 * 60 * 1000,   activeduration : 60 * 60 * 1000,   cookie:{     httponly : true, //cookie accessable http requests, not javascript     ephemeral : true  //deletes cookie on closing browser   } })); 


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -