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
Post a Comment