Definitely a newbie question, but I am doing the following: <cfcontent type="application/msexcel"> <cfheader name="Content-Disposition" value="filename=testmyExcelProgram5.csv">
I am using a cfflush to trigger the file to be downloaded to the client, but after it has completed, how can I then redirect either the output to html within the browser, or to a new cfm page completely? I tried this: <cfflush> <cfscript> local.myURL = "thankyou.cfm"; getPageContext().getResponse().sendRedirect(local.myURL); </cfscript> The user gets prompted to download the file, but then nothing. Thanks in advance for your help! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:5157 Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm
