X框选项设置为允许,但野生动物园表演拒绝显示 [英] X-Frame Option is set to allow but safari shows Refuse to display

查看:241
本文介绍了X框选项设置为允许,但野生动物园表演拒绝显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的工作中嵌入的IFRAME画面报表中的应用。它完美地运行在非Safari所有浏览器。作为第二图像中显示它表明错误拒绝显示。但我已经改变了所有的设置并添加X框,选择在我的头像这样

I am working on a application which embeds tableau report in iframe. It runs perfectly on all browsers other than safari. As shown in the 2nd image it shows that error "Refuse to display.." but I have changed all the setting and added X-Frame-Options in my header like this

 HttpContext.Current.Response.Headers.Remove("X-Frame-Options");
    Response.AddHeader("X-Frame-Options", "ALLOWALL");

在响应头添加此之后,它表示了X-帧选项= AllowAll显示图像2,但它提供了相同的拒绝显示错误。

After adding this in response header it shows X-Frame-Options = AllowAll show in in image 2 but it gives same "Refuse to display error.."

请让我知道我错了。请帮帮我。欲了解更多信息,你可以阅读

Please let me know where I am going wrong. Please help me. For more info you can read

[链接] <一个href=\"http://stackoverflow.com/questions/35303859/tableau-reports-not-showing-in-iphone-and-ipad-in-asp-net-application\">Tableau报告在iPhone和iPad不显示在asp.net应用程序

标头响应表示了X-帧期权价值

Safari浏览器显示错误

推荐答案

我发现,如果你正在访问嵌入在Safari或任何其他浏览器画面的意见。如果他们给了相同的错误我如上图所示。然后,你必须检查你的浏览器preferences。你需要让第三方cookies来查看您的应用程序嵌入这些意见的任何设备。这里是我发现我的答案的链接。

I have found out that if you are accessing embedded tableau views in safari or any other browser. If they give the the same error as me shown above. Then You have to check your browser preferences. You need to allow third party cookies to view those embedded views in your application in any device. Here is the link where I found my answer.

http://onlinehelp.tableau.com/current/server/ EN-US / trusted_auth.htm

这篇关于X框选项设置为允许,但野生动物园表演拒绝显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆