-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
This is subjective but I believe a deserialization error from a bad session cookie/reset redis database/other regular production hiccup should not totally stonewall the unfortunate user with the problem. As things stand now, as soon as you get a deserialization error you're essentially blacklisted, and the error will be useless information to a typical user.
More desirable production behavior includes any of:
- Remove the session information and treat the user as a 'fresh' user who has not logged in
- Allow for a configuration option that can override this behavior (eg, gracefulFailure: true)
- Provide an override hook for handling failed deserializations, so the developer can at least override
mpacary, IlyaSemenov, isaaclyman, surdu, chaficnajjar and 12 morehv7214ArbiKhan007
Metadata
Metadata
Assignees
Labels
No labels