SSL Response.WriteBinary problem
Hello. I'm writing an aspx page that reads a file from
disk and writes the file out through the
Response.WriteBinary() method. This allows me to support
security and custom reports for various users. I am
adding the MIME type for the type of file that I am
writing out to the response. Example:
if ( reportName.ToLower().EndsWith(".pdf"))
if ( reportName.ToLower().EndsWith(".doc"))
Response.ContentType = "application/msword" ;
This seems to work great on a regular non-secure site.
The problem that I am having is on a secure site (https).
I get errors in when trying to access PDF files or
MSOffice Files (doc,xls, etc) through my IE browser (IE
6). The browser just hangs on the MSOffice files and they
never open. On the PDF files, I get a warning about secure
and nonsecure info on and it will open. I know that the
pdf doesn't contain any nonsecure info, because I put the
same file on the site directly and did not receive the
I have looked around on many message boards and found the
This did not work for me or many of the other developers
out there with the same problem.
Thanks in advance for any help or suggestions!
Re: SSL Response.WriteBinary problem
> "Adam B"
> I'm writing an aspx page
Ray at work
|All times are GMT. The time now is 01:37 PM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.