mozilla / node-client-sessions

secure sessions stored in cookies
Mozilla Public License 2.0
759 stars 104 forks source link

how to set the session duration to "infinite" ? #125

Closed a-eid closed 3 years ago

vladikoff commented 7 years ago

@a-eid have you tried something like Infinity? https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Infinity

DivyanshBatham commented 7 years ago

@a-eid Why would you like to set the session duration to "Infinite"? Wouldn't it be a problem for the server in terms of memory, let's say if the user logged-in once and never opened our web application again.

usb248 commented 5 years ago

@DivyanshBatham Do you know what mean "client side" ?

DivyanshBatham commented 5 years ago

@usb248 I didn't back then, I was a noob. Ask me now? Yeah I know quite well. And it gave me a big laugh at what I wrote 😅

usb248 commented 5 years ago

@DivyanshBatham it reassures me lol