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
Each time I update the session I want to maintain the previous value of the Max Age value in the cookie. However, using the options presented in the documentation I can't seem to get this working. Can we looking into adding support for this?
The text was updated successfully, but these errors were encountered:
Hey there, I just found a solution how to do this.
First, on login, you compute a date in milliseconds you want to use as the date you want the cookie to expire, no matter what. Then you store this value in the session object directly, and you update the config, something like:
Each time I update the session I want to maintain the previous value of the Max Age value in the cookie. However, using the options presented in the documentation I can't seem to get this working. Can we looking into adding support for this?
The text was updated successfully, but these errors were encountered: