iron-session
iron-session copied to clipboard
feat: options in session.save function
I would like to be able to pass options to the session.save function.
This would be useful for making a cookie persistent by default, but can be overridden with the options. For example when a user toggle a "Remember me" checkbox.
If there already is such an option, please show me how 🙂
Also the you might want to override the TTL depending on user specifics. So agreed.