YAFLogo

Stegothedump
2012-07-10T09:15:33Z
Hey All,

Running a forum inside an IFRAME and IE 7,8 & 9 is giving me issue's on security (i.e. Cant login!) and this is down to the cookie policy, discovered that I need to add a compact header to the content IN the iframe.

Has anyone had to do this or know where I put the header stuff?

HttpContext.Current.Response.AddHeader("p3p","CP=\"IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT\"");

TIA

S

Sponsor
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.0
2012-07-11T11:44:16Z
Originally Posted by: Stegothedump 

Hey All,

Running a forum inside an IFRAME and IE 7,8 & 9 is giving me issue's on security (i.e. Cant login!) and this is down to the cookie policy, discovered that I need to add a compact header to the content IN the iframe.

Has anyone had to do this or know where I put the header stuff?

HttpContext.Current.Response.AddHeader("p3p","CP=\"IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT\"");

TIA

S

you need to add it to the default.aspx in the page header (inside the head element) of the forum if you point the iframe to that page

<meta http-equiv="P3P" content='CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"'> 


UserPostedImage