Michael,

Yes, that's it!  I added the following to the application.cfm file recently:

<cfheader name="Expires" value="#GetHttpTimeString(Now())#">
<cfheader name="Pragma" value="no-cache">
<cfheader name="cache-control" value="no-cache, no-store, must-revalidate"> 

I did it primarily to prevent those logged out from using the back button to 
view the previous pages.  I removed "no-cache, no-store," from the last one and 
it works fine - still prevents the use of the back button.  I guess I may still 
have problems with duplicate form submissions?

Thanks for your help,

Peter

>Is the production server using a "Cache-Control: no-cache" HTTP header? 
>
>I ran into a similar problem yesterday when opening a Word doc served by
><cfcontent> (Win2k3 server). If MS Word was closed when I tried to open
>the doc from the web page, the no-cache was deleting the file before
>Word started up - resulting in Word's 'file not found' error. If,
>however, Word was already open, the doc displayed with no problem.
>Never had any trouble saving the file to my desktop.
>
>FWIW, this behavior was only occurring in IE6 - Firefox had no problems.
>
>Since I need the no-cache in place, my solution was to drop the
>'attachment' value from <cfheader>:
><cfheader name="Content-Disposition" value="filename=#filename#">
>instead of
><cfheader name="Content-Disposition"
>value="attachment;filename=#filename#">
>
>IE now displays the Word doc inside the browser (not what I wanted), but
>at least the user doesn't get an error.
>
>hth,
>-michael
>
>
>
>
>>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:247389
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to