The following has worked for me in preventing AOL from caching dynamic
pages. Note that this must be included in ALL pages you do not wish to be
cached. (I like to put it in Application.cfm)
<CFSET gmts = gettimezoneinfo()>
<CFSET gmt = gmts.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">
Michael J. Sheldon
Internet Applications Developer
Phone: 480.699.1084
http://www.desertraven.com/
PGP Key Available on Request
-----Original Message-----
From: Skip Ogden [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 01, 2000 18:55
To: [EMAIL PROTECTED]
Subject: AOL and Caching
I searched the archives (or should I say struggled through them) and found
nothing.
Is there something I need to know regarding CF and AOL? AOL seems to be
caching templates and serving them instead of pulling up the latest and
greatest.
Thanks in advance.
Skip Ogden
----------------------------------------------------------------------------
--
Archives: http://www.eGroups.com/list/cf-talk
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.eGroups.com/list/cf-talk
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.