Generating PDF, error with IE and HTTPS

前端 未结 12 553
醉酒成梦
醉酒成梦 2020-12-08 09:17

I am streaming a PDF to the browser in ASP.NET 2.0. This works in all browsers over HTTP and all browsers except IE over HTTPS. As far as I know, this used to work (o

12条回答
  •  情深已故
    2020-12-08 09:28

    I was running into a similar issue with attempting to stream a PDF over SSL and put this inside an iframe or object. I was finding that my aspx page would keep redirecting to the non-secure version of the URL, and the browser would block it.

    I found switching from an ASPX page to a ASHX handler fixed my redirection problem.

提交回复
热议问题