I have a script that generates a temporary PDF file, binary-streams it to the client, then deletes it.
If you click on "Save Page As" in the browser File menu, it wants to save the correct file name that I specified through Content-Disposition.
However, if you click on the Save button in the Acrobat reader or Acrobat Pro, it wants to save the name of the script file, replacing ".asp" with ".pdf". It's like Acrobat completely ignores "Content-Disposition"
It's important that I don't use a static URL, but instead use a Dynamic script to generate the PDF, so that I can delete it immediately upon closing the stream. Otherwise, I can't know when the client is finished downloading.
Is there a solution to this? I've seen several threads, but none with an answer.