I'm creating a PDF with cfpdf, then using cfhttp, cfheader, and cfcontent to open up a save dialog. How do I get the page to move to another page after the save dialog is shown? As soon as I add cfcontent to the page, all other processing is stopped (the save dialog pops up, but I can't create a button to move to the next page, or move there automatically).
<cfhttp url="http://XXX.com/#variables.GeneratedPDFName#"
method="get"
getAsBinary="yes" />
<cfheader name="Content-Disposition" value="attachment; filename=File.pdf" />
<cfcontent type="application/pdf" variable="#cfhttp.fileContent#" />
Thanks