通过Windows注册表确定Internet Explorer Cookie设置

编程入门 行业动态 更新时间:2024-10-15 22:29:02
本文介绍了通过Windows注册表确定Internet Explorer Cookie设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

有没有办法通过Windows注册表确定Internet Explorer Cookie设置(即是否接受Cookie)?

Is there a way to determine Internet Explorer Cookie Settings (that is, whether cookies are accepted or not) through the Windows Registry?

推荐答案

这里是一个很好的MS知识库文章,介绍如何管理IE的安全区域

Here is a nice MS knowledge base article about how IE's security zones are managed in the registry.

看起来这是相关的部分:

It looks like this is the relevant part:

The following four registry entries take only effect if the following keys are present: {AEBA21FA-782A-4A90-978D-B72164C80120} First Party Cookie {A8A88C49-5EB2-4990-A1A2-0876022C854F} Third Party Cookie Registry entries 1A02 Allow persistent cookies that are stored on your computer 1A03 Allow per-session cookies (not stored) 1A05 Allow 3rd party persistent cookies 1A06 Allow 3rd party session cookies These registry entries are located in the following registry subkey: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\<ZoneNumber>

我会添加(从同一篇文章)这些是默认区域号用户可以自定义这些):

and I'll add (from the same article) that these are the default zone numbers (although a user can customize these):

0 My Computer 1 Local Intranet Zone 2 Trusted sites Zone 3 Internet Zone 4 Restricted Sites Zone

更多推荐

通过Windows注册表确定Internet Explorer Cookie设置

本文发布于:2023-11-07 23:46:50,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1567764.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:注册表   Windows   Internet   Cookie   Explorer

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!