P3P
P3P is a standard called the Platform for Privary Preferences that protects online privacy and allows Internet surfers to choose whether their information is collected and used by third parties when browsing the web. personal information. If a site does not comply with P3P standards, its cookies will be automatically rejected, and P3P can also automatically identify various ways of embedding cookies. P3P was developed by the Global Information Alliance Network.
Example
When there is an iframe on the page, if you want to obtain the cookie in the iframe, you must add the P3P Header information to the corresponding dynamic page of the iframe, otherwise it cannot be obtained under IE. Because IE has a security policy that restricts pages from saving third-party cookies (note: the currently visited page is a first-party cookie, and third-party cookies are cookies from other web pages other than the current web page).