无法在IE 8中显示来自HTTPS PDF(在64位Vista) [英] Can't display PDF from HTTPS in IE 8 (on 64-bit Vista)

查看:146
本文介绍了无法在IE 8中显示来自HTTPS PDF(在64位Vista)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个提供了简单的文件(它嵌入在我的应用程序),一个土生土长的HTTPS服务器。它的伟大工程 - 在使用它永远

I have a home-grown HTTPS server that serves up simple files (it's embedded within my app). It works great -- been using it forever.

最近添加SSL支持 - 浏览器,Firefox和IE都喜欢它,并加载页面就好了

Recently added SSL support -- Chrome, FireFox and IE all like it and load pages just fine.

我觉得现在的问题是,当我尝试加载PDF文件通过HTTPS连接。出于某种原因,在PDF从来没有在IE 8显示(在64位Vista 64位)。它工作正常,在Chrome中。 它使用普通的HTTP时,工作正常,在IE 8 - 只有在使用HTTPS失败

The problem I find is when I try to load a PDF file over the HTTPS connection. For some reason, the PDF never displays in IE 8 (64-bit on 64-bit Vista). It works fine in Chrome. And it works fine in IE 8 when using plain HTTP -- only fails when using HTTPS.

请注意:当IE 8所提到的,它是32位IE 8在64位Vista,尽管64位IE 8具有相同的行为

NOTE: When IE 8 is mentioned, it's 32-bit IE 8 on 64-bit Vista, although the 64-bit IE 8 has the same behavior.

这让我觉得这是某种形式的IE 8 / HTTPS / PDF / 64位操作系统的问题,但我不知道。

That makes me think it's some sort of IE 8/HTTPS/PDF/64-bit OS issue, but I'm not sure.

DebugBar为IE 8显示了请求和响应去完全按预期 - 没有错误可言。 IE 8不显示任何错误或任何东西 - 纯白色屏幕(或之前,我试图加载PDF被显示的页面)。清除缓存/饼干/等。

DebugBar for IE 8 shows the request and response went exactly as expected -- no errors at all. IE 8 doesn't show any errors or anything -- pure white screen (or the page that was displayed before I tried to load the PDF). Cleared cache/cookies/etc.

是否有任何已知问题与IE浏览器/ PDF / HTTPS?

Are there any known issues with IE/PDF/HTTPS?

推荐答案

我以为我会回来并给出最终的答案。

Thought I'd come back and give the final answer.

感谢您给大家,建议不将加密的页面到磁盘。

Thank you to everyone that suggested "Do not save encrypted pages to disk".

我也跟着EricLaw的建议和设置:

I followed EricLaw's advice and set:

Cache-Control: private 

我还发现,我有杂注:无缓存,我删除

工程就像一个魅力现在:)

Works like a charm now :)

这篇关于无法在IE 8中显示来自HTTPS PDF(在64位Vista)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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