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!