Yes it is response.addHeader i am trying to use
the code is
Response.AddHeader "content-disposition",
"attachment;filename="&originalFileName
Response.ContentType = contentType
the variable contentType and originalFileName are set to the correct
values, i verified that by printing them out. For some reason it takes
the content type as html no matter what and it gives some random text
for the filename
thanks
:)
Katie wrote:
Hi,
I am trying to set the content type and header for the response object
but for some reason it doesnt set it. I tried it on dev and it worked
fine but didnot on production. The difference is that dev is http and
production is https. Is there any difference in setting the header and
content type when doing so a http and when on a https server.
Thanks for your help
:)