P
Passiday
Hello,
I am sorry if this is inappropriate here to ask question about the
classic ASP. I am quite sure though that the question is relevant also
to ASP.NET, so I dare to post it here. The classic ASP groups seem to
be quite discontinued...
In my ASP project, I used to use this code for initiating "Save as"
download at the client side:
Response.ContentType = "application/msword";
Response.AddHeader("Content-Disposition", "attachment;
filename=MyReport.doc;");
This code is ran in hidden frame, and had been working very fine.
However, when I switched the project to https, this kind of code now
throws error:
Internet Explorer cannot download ReportDOC.asp from www.domain.com.
Internet Explorer was not able to open this Internet site. The
requested site is either unavailable or cannot be found. Please try
again later.
I hope this is not anyhow connected to the client settings. Maybe
there is some header I should add to the response, to make the
download work just like it works over http?
Passiday
I am sorry if this is inappropriate here to ask question about the
classic ASP. I am quite sure though that the question is relevant also
to ASP.NET, so I dare to post it here. The classic ASP groups seem to
be quite discontinued...
In my ASP project, I used to use this code for initiating "Save as"
download at the client side:
Response.ContentType = "application/msword";
Response.AddHeader("Content-Disposition", "attachment;
filename=MyReport.doc;");
This code is ran in hidden frame, and had been working very fine.
However, when I switched the project to https, this kind of code now
throws error:
Internet Explorer cannot download ReportDOC.asp from www.domain.com.
Internet Explorer was not able to open this Internet site. The
requested site is either unavailable or cannot be found. Please try
again later.
I hope this is not anyhow connected to the client settings. Maybe
there is some header I should add to the response, to make the
download work just like it works over http?
Passiday