Is there a way to change the name of a PDF I am generating when ColdFusion MX streams output to the browser? When I try to specify the filename it wants to save it to the server and does not open the PDF in the browser.
I have looked at the docs, but this does not answer my question. What I am looking for is a way to name the pdf file yet have it output to the browser and not save to the server.
If I use filename in the cfdocument tag it will save to the server. This is not what I want it to do. I would like it to auto save to my desktop, if you use just <cfdocument format="pdf"> it will do this, BUT, I am stuck with the cfm page name as the pdf filename. Once I add filename to it it wants to save to the server.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.