I have been writing a php script that saves a long string within cookie (more than 4000 chars long) and I want to save it within the browser cache. The problem is that almost all browsers have a limit. What should I do? I'm using jQuery for adding and reading data from cookie and php.
Rethink your App logic and save most of the data on server.
This will save you a lot of hassle in the long run.
Just my two cents.
You can use HTML5 based concept of IndexDb to save data at client end.
www.tipstr.in/html5-learn-use-indexeddb
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