A question relating to cfcontent and session variables, with a hint of URL variables.
We are migrating from a relatively open system to one that has a login and session management. We have stumbled across something that seems to be behaving oddly, though I don't know why. We have a coldfusion page that will generate a report as HTML. If the user selects a button to save it to excel, it runs the same page, but inserts the <CFCONTENT TYPE="application/vnd.ms-excel" reset="yes"> <CFHEADER NAME="Content-Disposition" VALUE="filename=myreport.xls"> at the top. The only other difference, is the variables to generate are passed through as URL variables. Before adding the session, they worked fine. Now though, and it is not all situations, it almost seems like IE or Excel are trying to open a new instance of IE outside of the session in an attempt to download the file. As I said though, it is not all. This link... reportactionoutput.cfm?DATEPARAMS=Dec 09, 2005&DATEPARAMSLENGTH=1&reportlevel=National&reporttype=ABC&reportparam=465&saveToFile=yes does not work, with excel popping up an error message saying "Cold not open "http://mysite/reportactionoutput.cfm?DATEPARAMS=Dec 09, 2005&DATEPARAMSLENGTH=1&reportlevel=National&reporttype=ABC&reportparam=465&saveToFile=yes" Now, if I run a slightly different report type, the exact same url with maybe another parameter like this reportactionoutput.cfm?DATEPARAMS=Dec 09, 2005&DATEPARAMSLENGTH=1&reportlevel=National&focusstate=CA&reporttype=ABC&reportparam=465&saveToFile=yes It opens fine, no issues. The only thing I found that may fix the problem is changing the spaces in the url variable to %20 This falls into different reports doing different things, not common code so there is a lot of places to change it, with no full assurance that this will fix the issue. Anyone run into anything similar? Thanx! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion MX7 and Flex 2 Build sales & marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274703 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

