本文介绍了IE不保存Cookie的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一位使用者的隐私权设定为中的IE。当他们去我的网站,它的cookie没有设置。这发生在具有相同设置的2台机器上,而其他具有IE的机器在中等设置下工作正常。

I have a user who has their privacy setting on Medium in IE. When they go to my site it, the cookie is not setting. This has occurred on 2 machines with the same settings, while other machines with IE are working fine on a Medium setting.

     $('select').change(function(){
checkCookie();
if (jQuery.cookie('newcity') ) {
    $.cookie( 'newcity', null, { path: '/', domain:'928shopper.com'});
}

$.cookie('newcity', this.value, {expires: 7, path: '/', domain:'928shopper.com'});

});

这些机器上的所有其他浏览器都能正常使用。当我测试是启用cookie,它回到真。任何想法我做错了什么?

All the other browsers on these machines are fine with the function. When I test is cookies are enabled, it comes back true. Any idea what I am doing wrong?

推荐答案

我发现它是什么!

Internet选项/安全/保护模式(取消选中以写入cookie)

Internet Options/Security/Protected Mode(uncheck to write the cookie)

这篇关于IE不保存Cookie的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-28 17:09