Hi - I was trying to use CFContent to serve a PDF . It worked fine in Firefox but not in IE 8.
The problem turned out to be this code in our application.cfm (which we include alot)
<!---prevents back button from keeping user logged in --->
<!--- Do not use when serving files using CFCONTENT --- it breaks IE --->
<cfheader name="Pragma" value="no-cache">
<cfheader name="Expires" value="0">
<cfheader name="cache-control" value="no-cache, no-store, must-revalidate, max-age=0">
Simply using this code worked:
<cfheader name="Content-Disposition" value="inline;myStatement.pdf">
<cfcontent type="application/pdf" file="#fullFileAndPath#" reset="yes">
I just thought I'd share this in case it helps others.