Maybe a problem with one of the cache. Instead of ClearHeaders(), you
should try to set off the various caches. See
http://ca.php.net/manual/en/function...he-limiter.php for some of
the headers that you can try to set in PHP. (Sorry, but I didn't have time
to make a search for examples in ASP or ASP.NET.)
You can also try to set the content-type to application/octet-stream instead
of text/plain and set the Content-Length to the length of your file.
Finally, I'm not sure about the net effect of mixing Response.AddHeader()
with direct call to property, like Response.ContentType = "..."; as IE is
very sensible when it comes to SSL.
S. L.
"Roman" <Roman@discussions.microsoft.com> wrote in message
news:7174B898-38A1-44B6-95D2-9FD3FCF2266D@microsoft.com...[color=blue]
> Help, please. I have just spent an entire day troubleshooting a problem
> that
> just makes me want to throw myself through my monitor.
> I have the following code in asp.net:
> <%@ Page language="c#"%>
> <%
> Response.Clear();
> Response.ClearContent();
> Response.ClearHeaders();
> Response.AddHeader("Content-Disposition", "attachment;
> filename=test.bin");
> Response.ContentType = "text/plain";
> Response.BinaryWrite(new byte[100]);
> Response.End();
> %>
> No matter what i try, this does not work over SSL. It works over http but
> not https.
> My broswer is MSIE 6.0[/color]