【发布时间】:2016-05-22 19:13:50
【问题描述】:
我正在开发一个在 iframe 中嵌入表格报告的应用程序。它可以在除 safari 之外的所有浏览器上完美运行。如第二张图片所示,它显示错误“拒绝显示..”,但我已经更改了所有设置并在我的标题中添加了 X-Frame-Options,如下所示
HttpContext.Current.Response.Headers.Remove("X-Frame-Options");
Response.AddHeader("X-Frame-Options", "ALLOWALL");
在响应标头中添加此内容后,它会在图 2 中显示 X-Frame-Options = AllowAll,但它给出相同的“拒绝显示错误..”
请告诉我哪里出错了。请帮我。有关更多信息,您可以阅读
[链接]Tableau Reports not showing in iPhone and iPad in asp.net application
【问题讨论】:
标签: asp.net iframe safari frames x-frame-options