I found that angularjs serializes and deserializes when using $cookieStore.put/get and I'm able to put a whole object into it. So what is the size limit? 4kb?
cookie size is 4kb. if your object less than that you will be capable to add the whole object. Just keep in mind that 4kb is for whole cookie including name, expiration and value. But cookie may not be appropriate place to store objects. Please consider to use html5 localStorage except cases when you 100% sure you want it to be in cookies.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With