title: Solutions to inline filename content disposition and injecting a dynamic filename for saving action
body: <p>Essentially I am streaming a pdf from memory to the user's browser. I would like to allow the system user to be able to hit save in adobe (in browser) and have the filename pre-filled with a dynamic value (e.g. last name of the customer).</p>
  
  <p>I've read a bit about this problem so far, it seems that content disposition header setting the inline filename isn't implemented correctly.</p>
  
  <p>I have read that adobe takes the filename from the page that generates the pdf. I.e. if the page name is pdfviewer.aspx, then the pre-filled value of the pdf's filename is pdfviewer.pdf.</p>
  
  <p>I am looking for a work around. My original idea was for a http handler which will generate and push out the pdf, and have the web config as such: </p>
  
  <pre><code> &lt;add verb="*" path="*.ashx" type="Logic.PDFHandler" /&gt;
  </code></pre>
  
  <p>This way when I dynamically set the link to "lastname.ashx", it should run the code in PDFHandler, while the url will be somthing like "...\lastname.ashx". I seem to be able to get this to work in a proof of concept (substituting the generation of the pdf with a simple repsonse.write("hello world")), but I'm just wondering, if there are any better work arounds?</p>
  
  <p>Note: The proof of concept only works in IE and I'm happy for it as it is the browser targeted for this intranet application.</p>