Here is the best answer I've seen to this question on this list - it is
courtesy of Michael Sheldon:

**********
A bit hefty, but it's the technically correct method, and one of the few
that AOL's proxies will pay attention to:

<CFSET gmt = gettimezoneinfo()>
<CFSET gmt = gmt.utcHourOffset>
<CFIF gmt EQ 0>
        <CFSET gmt = "">
<CFELSEIF gmt GT 0>
        <CFSET gmt = "+" & gmt >
</CFIF>
<CFHEADER NAME="Pragma" VALUE="no-cache">
<CFHEADER NAME="Cache-Control" VALUE="no-cache, must-revalidate">
<CFHEADER NAME="Last-Modified" VALUE="#dateformat(now(), 'ddd, dd mmm
yyyy')# #timeformat(now(), 'HH:mm:ss')# GMT#gmt#">
<CFHEADER NAME="Expires" VALUE="Mon, 26 Jul 1997 05:00:00 GMT">
***********

Dan


-----Original Message-----
From: Brandon Behrens [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 16, 2000 3:08 PM
To: [EMAIL PROTECTED]
Subject: OT: How can you programmatically keep a web browser from
caching a page?


How can you programmatically keep a web browser from caching a page with
HTML?

Thanks in advance,

Brandon

Brandon Behrens
The Internet Design Firm
512.451.5225
[EMAIL PROTECTED]
http://www.theidf.com


----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to