The file I am redirecting to in this case only has the the following on it.


<html> <% $E_TicketNumber:=get session("E_TicketNumber") $PDFSucess:=WebRes_GeneratePDFReceiptBlob($E_TicketNumber) if($PDFSucess) write blob(ptr_BlobReceipt->;"application/pdf") else redirect("creditcardresult.a4d") end if %> </html>

I forgot something in my original reponse. You have to add a Content-Disposition header, like this:


set response header("Content-Disposition"; "attachment; filename=" + $filename)

$filename should be just the filename, such as "receipt.pdf". See if this fixes the problem.

Regards,

   Aparajita
   Victory-Heart Productions
   [EMAIL PROTECTED]
   www.aparajitaworld.com

   "If you dare to fail, you are bound to succeed."
   - Sri Chinmoy   |   www.srichinmoylibrary.com



Reply via email to