1

I have a ASPX page and i really would like to load it in a iframe. It is a simple overview page.

i added the following syntax:

<WebPartPages:AllowFraming runat="server" />

It works only once. If i load the page for the first time the page is loaded correctly. But when i reload the page F5. Then it throws the error:

Load denied by X-Frame-Options:  does not permit cross-origin framing.

If i empty the cookies then it works again or when i restart the iis server.

I hope you guys can help me out!

  • what technologies/IE browser modes are you using on the main and the iframed pages? also, check for javascript errors on the console. – Tiago Duarte Dec 8 '16 at 10:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.