November 8th, 2011, 11:25 AM
Redirect back after file download
I'm creating a page that downloads a file, and I'm trying to redirect back to the caller after the file downloads, while passing some url.parameters.
The above code works to redirect back to the page and reprocess after that, but the file will not download.
<META http-equiv="refresh" content="5;<cfoutput>url=someurl.cfm?urlparam1=something&urlparam2=somethingelse
Removing that, and the file downloads without a hitch.
November 8th, 2011, 01:10 PM
No need to redirect. Just noticed that the browser never leaves the calling page.