I'm certain that this is a very stupid question but for the life of me I can't seem to figure it out.
I have a function on a classic asp page that creates a pdf the asppdf component. However when I use Doc.SaveHttp "attachment;filename=\aspPDFtemp\"& pdffile&",application/pdf"
I'm not prompted to save or open the pdf, but rather the below is displayed
Any ideas?
%PDF-1.3 %ýâ 1 0 obj <> endobj 2 0 obj <> endobj 3 0 obj <> endobj 4 0 obj <> endobj 5 0 obj <> endobj 6 0 obj <> endobj 7 0 obj <> endobj 8 0 obj <> stream xýýýy|ýýý?|ýsóeý{&ý%ýýýýL2Ifý3!ý;daIý4EKW$Vý Tý[[@-Jý$,ý5ýj*]ýjý`ý¶FýEýý$ýý™ýýýý}ý?ýýýLýý:ý9ý9ývýL ýý~@ZývýýEo\ý9ýP=wQò
When I use Doc.Save( Server.MapPath("\aspPDFtemp\"& pdffile), False ) the pdf is created and I can link to it.
Response.ContentType = "application/pdf"