How to save a large amount of data in the users browser?

I am writing a php script that saves a long line in a cookie (longer than 4000 characters) and I want to save it in the browser cache. The problem is that almost all browsers have a limit. What should I do? I use jQuery to add and read data from cookies and php.

+3
source share
7 answers

Check out Web Storage Portability Level: Generic Web Storage API

It abstracts the various local storage engines that browsers provide.

Local storage is becoming standardized in HTML5.

+1
source

.

.

.

+4

IndexDb HTML5 .

www.tipstr.in/html5-learn-use-indexeddb

+2

, JQuery, , , JQuery. html 5 . 10 IE 5 . , yahoo HTML5.

http://developer.yahoo.com/yui/storage/

0
  • ( , abcd_0, abcd_1).
  • ( ) MD5 cookie , , cookie ( MD5) obitan .
0
0

Source: https://habr.com/ru/post/1762445/


All Articles