4

localstorage works well with chrome and IE, but with firefox (the version I am using 13.0.1), it seems it is cleared after I close it?? I check the localstorage using Firebug, I see that localstorage is saved ,but after I close FF I don't see the localstorage I created before closing the application,

I searched Google, but didn't find useful results.

Any clues?

4

1 回答 1

5

您是否在 Firefox 选项菜单中检查了您的隐私设置?

退出时清除 cookie 和历史记录通常也会擦除本地存储。

这是我的样子,因为我不希望本地存储在浏览器会话中持续存在:

在此处输入图像描述

于 2012-07-17T15:05:41.240 回答