> sometime the problem with AOL is the way it caches everything it finds.
> 
> using the cfheader tag you can manually expire the cache.
> 
> I cannot remember the exact syntax but it can be done.

Something like this (shared by another cf-talker some time ago):

Put this after the </head>:

<CFHEADER Name="Expires" Value="Sun, 06 Nov 1994 08:49:37 GMT">
<CFHEADER NAME="pragma" VALUE="no-cache">
<CFHEADER NAME="cache-control" VALUE="no-cache, no-store, must-revalidate">

 ... or the paranoid version:

<CFSET gmts = gettimezoneinfo()>
<CFSET gmt = gmts.utcHourOffset>
<CFIF gmt EQ 0>
  <CFSET gmt = "">
<CFELSEIF gmt GT 0>
  <CFSET gmt = "+" & gmt >
</CFIF>
<CFHEADER NAME="Expires" VALUE="Mon, 06 Jan 1990 00:00:01 GMT">
<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#">


Ron Allen Hornbaker
President/CTO
Humankind Systems, Inc.
http://humankindsystems.com
mailto:[EMAIL PROTECTED]

 
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
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