This has solved my problem. Thank you very much!
Hi Stuart,
We were having the same problems with pdf files, maybe the
workaround is the same, it's a limitation on IE Win ...
here is just a quoted of my e-mail from 23 febreaury 2005 ...
HTH,
Raimon Fernández Sirera
Barcelona
e.mail:
---------------------
We are serving some pdfs, in normal connection HTTP all runs
perfect, but when the connection is secured, HTTPS, our friend IE
doesn't want to download the file.
This problems only occurs in windows and with IE, with Opera,
Mozilla, ... all works as expected.
After making a google search, the result is awsome, but in resume ...
Problem:
----------------------
When opening a PDF over SSL running on IIS 5.1 (Windows XP
Professional, W2K Windows 2000, or Windows Server 2003), you may
receive the following problem with Internet Explorer.
First, instead of opening the PDF in Acrobat Reader, IE asks you,
"Do you want to open or save this file?". If you click "Open", then
you receive the error, "Internet Explorer cannot download file.pdf
from servername. Internet Explorer was not able to open this
Internet site. The requested site is unavailable or cannot be
found. Please try again later."
If you right-click on the link to the PDF, and select "Save", you
receive the following error: "Internet Explorer cannot download
file.pdf from servername. The file could not be written to the cache."
Cause:
----------------------------------
This problem occurs because the PDF returned by the web server
contains HTTP headers to disable caching. Specifically, the header
is the no-cache pragma. In VBScript ASP, the code lines that can
cause this error are:
Response.AddHeader "pragma","no-cache"
or
Response.CacheControl = "no-cache"
Solution:
------------------
Remove the above headers for disabling caching.
In active4D, just with this the problem was gone ...
set cache control("")
On 17 Nov 2005, at 02:51, Stuart Holroyd wrote:
I have the following very simple A4D file. The file works
correctly everywhere but Internet Explorer when this file is
served from a secure server. The file is called a.a4d and is in
the web root.
<%
set response header("Content-type:";"Application/octet-stream")
set response header("Content-Disposition:";"attachment;
filename=test.txt")
write("Hello World Test")
%>
Internet Explorer asks me what I want to do: Open Save Cancel, I
respond Save
The error is:
IE cannot download a.a4d from as.clifftracking.com.
IE was not able to open this Internet site. The requested site is
either unavailable or cannot be found. Please try again later.
If I use FireFox or Mozilla, I end up with a file saved to my
computer with the correct text. If I use a non-secure server, the
correct file is saved.
Is there another response header I need for Internet Explorer when
using a secure server?
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/