Cause
Internet Explorer 6 introduced support for the platform for privacy preferences (p3p) project. the p3p standard notes that if a frameset or a parent window references another site inside a frame or inside a child window, the Child site is considered third party content. internet Explorer, which uses the default Privacy SettingMedium, Silently rejects cookies sent from third party sites.
Resolution
You can add a p3p Compact Policy header to your child content, and you can declare that no malicous actions are stored Med with the data of the user. if Internet Explorer detects a satisfactory policy, then Internet Explorer permits the cookie to be set.
Visit the following msdn Web site for a complete list of satisfactory and unsatisfactory policy codes:
Privacy in Internet Explorer 6
Http://msdn.microsoft.com/workshop/security/privacy/overview/privacyie6.aspHttp://msdn.microsoft.com/workshop/security/privacy/overview/privacyie6.asp)
A simple compact policy that fulfills this criteria follows:
P3p: Cp = "Cao PSA our"
This code sample shows that your site provides you access to your own contact information (CAO), that any analyzed data is only "pseudo-analyzed ", which means that the data is connected to your online persona and not to your physical identity (PSA ), and that your data is not supplied to any outside agencies for those agencies to use (our ).
You can set this header if you useResponse. addheaderMethod in an ASP page. in ASP. NET, you can useResponse. appendheaderMethod. You can use the IIS management snap-in (inetmgr) to add to a static file.
Follow these steps to add this header to a static file:
1. |
click Start , click RUN , and then type inetmgr . |
2. |
In the left navigation page, click the appropriate file or directory in your web site to which you want to add the header, right-click the file, and then click properties . |
3. |
click the HTTP headers tab. |
4. |
In the Custom HTTP headers group box, click Add . |
5. |
type p3p for the header name, and then for the Compact Policy string, type CP =... , where "... "is the appropriate code for your compact policy. |
Alternatively, Internet Explorer users can modify their privacy settings so that they are prompted to accept third party content. The following steps show how to modify the privacy settings:
1. |
run Internet Explorer. |
2. |
click tools , and then click Internet Options . |
3. |
click the privacy tab, and then click advanced . |
4. |
click to select the override cookie IC Cookie Handling check box. |
5. |
to allow ASP and ASP. net session cookies to be set, click to select the always allow session cookies check box. |
6. |
to receive a prompt for any type of third party cookie, click prompt In the third-party cookies list. |
http://support.microsoft.com/default.aspx? SCID = KB; en-US; 323752