Hello,
I'm using some ColdFusion code to load data from a query into an Excel Spreadsheet. Here's the code:
<CFHEADER NAME="Content-Disposition" VALUE="inline; filename=temp.xls"><CFCONTENT TYPE="application/msexcel" reset>
Everything runs fine unless the user chooses some more parameters and tries to reload the page, at which point the new page never loads, and excel displays the same old page. The user has to close the old page in order to see the new data. As most users are not aware that they need to actually close the old page in order to see a new one, I'd like to know if anyone can help me automatically close the old page before the new one loads, or somehow tell Excel to load the same page with fresh data.
Any ideas?![[smile] [smile] [smile]](/data/assets/smilies/smile.gif)
Thanks for any help,
Peter Swanson
I'm using some ColdFusion code to load data from a query into an Excel Spreadsheet. Here's the code:
<CFHEADER NAME="Content-Disposition" VALUE="inline; filename=temp.xls"><CFCONTENT TYPE="application/msexcel" reset>
Everything runs fine unless the user chooses some more parameters and tries to reload the page, at which point the new page never loads, and excel displays the same old page. The user has to close the old page in order to see the new data. As most users are not aware that they need to actually close the old page in order to see a new one, I'd like to know if anyone can help me automatically close the old page before the new one loads, or somehow tell Excel to load the same page with fresh data.
Any ideas?
![[smile] [smile] [smile]](/data/assets/smilies/smile.gif)
Thanks for any help,
Peter Swanson