Replies: 1 comment 8 replies
-
As it stands I think there's a conflict between configuring a default expiration (which is what the layer method does) and overloading that from the session API. For example, the next time a session is initialized by the manager it will use the configured value (or default) and not whatever was set by It would be a breaking change to rely on the record because that's an async interface that must talk to the store to reconcile an expiration. That said, that does appear to be what the Django implementation does: it loads the session cache and then reads and writes to it directly. |
Beta Was this translation helpful? Give feedback.
-
Is there a way to load the expiry date from the database instead of resetting it every time the session is recreated?
This results in a long expiry time:
Beta Was this translation helpful? Give feedback.
All reactions