I found a few answers on the net but none seem to work.
I'm working on a web application in VS2010. I have a page with a Iframe that points to a child website. I would like visitors to be able to work on the child website through the Iframe.
The child website loads fine in my Iframe. But it requires a login which is where the problem comes in. because as I understand Internet Explorer blocks cookies from different domains when it is in a Iframe. I have tested it and when I add the child domain to my IE>Settings>Trusted sites to always allow the login works so that is definitely the problem but I can't expect visitors to know or do this.
I've tried adding:
C#
protected void Application_BeginRequest(object sender, EventArgs e)
{
HttpContext.Current.Response.AddHeader("p3p", @"CP=\IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT\");
}To my web applications Global.asax but with no luck;
I don't have access to code of the child website. Is there anyway I can make this work or even prompt the user to allow access.
Any help would be appriciated.
Thx
Rousseau
Answers
Know the answer? Post it. Somebody with the same question will find it here.