开发者

Small through-request data storage

Is there any solutions or practices of 开发者_如何学运维how to organize small local data storage to keep some data between requests (no cookies or another sending data to server)?


window.name can hold several MEGABYTES worth of string data. It must be used carefully though.

See: Using window.name as a local data cache in web browsers


Local Storage ability is included in HTMl5. Check out this link for more information (http://diveintohtml5.ep.io/storage.html). This will not work in older browsers.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜