-
Notifications
You must be signed in to change notification settings - Fork 293
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Describe the feature
The session cookie can get big. Too big for the 4093 limit.
Built-in cookie chunking would benefit everyone from having to work around this.
setCookie could look at the length and chunk automatically
getCookie could look at the content of the first cookie, if it indicates chunking (fex. chunks-2
) it could join the values together.
deleteCookie should also check for chunks
Workarounds are possible:
- leave data out of the session (but you might need that data in a lot of places)
- store data in separate cookie, plain text (because you don't want to bother, but it's not safe)
- store data in separate cookie, sealed (but now you need to copy the encryption code, manage the same settings)...
Some references:
Additional information
- Would you be willing to help implement this feature?
pi0, LuckyFox31, adrienGzc and markbrockhoff
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request