Sooo, I was inspired by your way of dealing with the cart in a cookie. I implemented something quite similar in my project. But I recently hit a cookie limit:
Error: Cookie length will exceed browser maximum. Length: 4262 bytes
There's a reason why the cookie is so "big": I'm storing an array of { id, quantity }. It seems cookies are not the right place when handling requests from a shop-addict.. 😅
What would be the right alternative ?
FYI, I wanted to test your project to test the same scenario, but I hit a different issue:
Hello :)
Sooo, I was inspired by your way of dealing with the cart in a cookie. I implemented something quite similar in my project. But I recently hit a cookie limit:
There's a reason why the cookie is so "big": I'm storing an array of
{ id, quantity }
. It seems cookies are not the right place when handling requests from a shop-addict.. 😅What would be the right alternative ?
FYI, I wanted to test your project to test the same scenario, but I hit a different issue: