hono
hono copied to clipboard
Chunked cookie utils
What is the feature you are proposing?
Most browsers limit each cookie key to ~4000 characters, this create some obstacles when trying to implement a session / state manager using Cookie-store.
h3 have some nice utils that automatically chunks the data to several cookies, might be worth re-implementing them in official hono cookie helpers?
@NamesMT
I've never thought I wanted to do that function before, and now (since I'm not creating real-world systems, so I may not have the chance to handle a large cookie), but it's a good idea. As with #4444, we can make this a "Request For Comments".