开发者

IE 9 Cookie Problem

I am having a cookie problem that occurs only in IE 9(Maybe in 8 never tested it really).

I am using the Jquery Cookie Plugin to store some user se开发者_如何学Gottings.

  $.cookie("userSetting1", "true", { expires: 999, path: '/' });

So I am saving the cookie at the root path so it should be available on all pages. This of course works perfectly on firefox 4 and google chrome.

From the limited tools(web developer tools) that IE has it seems that it is still trying to save the cookie per page basis not per site basis.

Any other tools that I can use to look into the cookie better(something like firecookies) or any suggestions why it does not save everything to the root?


Turns out when you go to IE 9 options and tell it to "Delete Cookies" it does not delete them.

I had to use this to delete the old cookies that where said at the page level and not the root level.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜