Is it a bug or something? About IE

Source: Internet
Author: User

This article is created by the owner Ms

Recently, When I integrated the comment system, I found that there was a "Bug" in IE (probably for security reasons) because the comment system was independent at first, when other websites call the comment system, they must call JS or IFRAME statements to implement the comment function. However, the problem also occurs, and IE browser loses the cookies of different domains in the framework. As a result, the system has been unable to comment...

The following is an example: An iframe exists in the page A. aspx of the site aa.com, And the SRC of IFRAME is B. aspx of the site bb.com.

B. aspx sets a cookie (no matter whether it is saved temporarily or permanently) and refresh the response.

View the privacy options of the browser. The default value is "medium ". Now, change the privacy level to "low", perform the test again, and then find that the cookie in the framework can be brought in.

However, this problem does not exist in other browsers.

It reminds me that when I set up the mall system, IE browser always prompts a verification code error at the front end, but found that the cookie is correct during debugging...

Now I finally got the reason ....

-------------- Attached solution <collection and online>

P3p (platform. the for privacy preferences Project (p3p) Specification) protocol by default prevents third parties from having no privacy security statement cookies. Firefox currently does not support the p3p security feature, and Firefox does not. For details about Mircosoft, see privacy in Internet Explorer 6 solution: In the content to be embedded (the site to which IFRAME points), output the Host Header declaration of p3p. The steps are as follows: 1. open the IIS manager inetmgr 2. select the embedded IFRAME source site or directory, right-click to open the attribute box 3. switch to HTTP header 4. add 5. custom HTTP header name: p3p 6. custom HTTP header value: Cp = "Cao PSA our" 7. closes the attribute box and takes effect immediately.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.