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
to migrate between old and new save handlers without losing session data.
96
97
97
-
It can be used to support the following workflow:
98
+
This is the recommended migration workflow:
98
99
99
-
* Switch to the migrating handler, with your new handler as the write-only one. The old handler behaves as usual and sessions get written to the new one.
100
-
* After your session gc period, verify the data in the new handler
101
-
* Update the migrating handler to use the old handler as the write-only one, so the sessions will now be read from the new handler. This step allows easier rollbacks.
102
-
* After verifying that the sessions in your app are working, switch from the migrating handler to the new handler.
0 commit comments