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
I need to set the browser cookie expiration based on the session. Session.Options(sessions.Options{MaxAge:0}) can be implemented, but it directly causes the stored session to expire and the client cannot request normally. I have tried setting store.Options(sessions.Options{MaxAge:60}) If the session.Options(sessions.Options{MaxAge:0}) is set later, it will be directly overwritten.
The text was updated successfully, but these errors were encountered:
I need to set the browser cookie expiration based on the session. Session.Options(sessions.Options{MaxAge:0}) can be implemented, but it directly causes the stored session to expire and the client cannot request normally. I have tried setting store.Options(sessions.Options{MaxAge:60}) If the session.Options(sessions.Options{MaxAge:0}) is set later, it will be directly overwritten.
The text was updated successfully, but these errors were encountered: