ITPub博客

首页 > IT职业 > IT生活 > Use IE userdata behavior

Use IE userdata behavior

IT生活 作者:solution 时间:2021-09-09 09:37:07 0 删除 编辑

I described how to use jStore as a client-side persistent storage in my last post. The jStore manage a number of different storage engines, such as gears and flash objects. But they all need additional downloads.

The IE browser has provide a mechanism called userdata behavior to store max 128kb data a page, 1024kb a domain. This is a portion of DHTML that suppoted by IE5 or later. Refer to this article: userData Behavior.

The userdata behavior is much like what cookie does, but it supply a much bigger storage. The data is stored in the C:Documents and SettingsUser NameUserData folder, which will be visible even if you refresh the page or re-open the IE browser. The data will always exist, unless you delete it manually or set the expire date.

Here is an example:

$(function() {

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/2459/viewspace-2805229/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2019-08-05

  • 博文量
    101
  • 访问量
    21774