在 IE8 中禁用 cookie

发布于 2024-10-08 03:05:52 字数 245 浏览 0 评论 0原文

我正在从本地主机测试我的 Asp.Net 应用程序,以检查禁用 cookie 时它的行为方式。我尝试在 IE8 中阻止 cookie,方法是在

“工具”->“设置”中进行设置。互联网选项 ->隐私->高级

并为“第一方 Cookie”和“第三方 Cookie”选择“阻止”。然而,当我运行我的应用程序时,cookie 仍然被创建。

你能告诉我如何在 IE8 中禁用 cookie吗?

提前致谢。

I'm testing my Asp.Net application from localhost to check how it behaves when cookies are disabled. I tried blocking the cookies in IE8, by setting it at

Tools -> Internet Options -> Privacy -> Advanced

and selecting "Block" for both "First-party Cookies" and "Third-party Cookies". However, when I run my application, the cookies still get created.

Can you let me know how I can disable cookies in IE8.

Thanks in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

恰似旧人归 2024-10-15 03:05:52

只需使用开发工具即可。按 F12,转到“缓存”>“禁用 Cookie。

Just use the Dev Tools. Hit F12, go to Cache > Disable Cookies.

没︽人懂的悲伤 2024-10-15 03:05:52

我相信这些设置适用于 Internet 区域。对于您的本地主机站点,我建议您使用主机条目将某些任意域名(例如 www.xyz.com)映射到本地主机,将此站点添加为阻止站点(使用隐私选项卡上的站点按钮)并使用此地址访问您的应用程序。

I believe that these setting are meant for Internet Zone. For your localhost site, I suggest that you use hosts entry to map some arbitrary domain name (say www.xyz.com) to localhost, add this site as blocked site (use sites button on privacy tab) and access your app using this address.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文