When all else fails, check the RFC (or ask Jochem, which is essentially the same thing)
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html which says: 14.21 Expires .... The format is an absolute date and time as defined by HTTP-date in section 3.3.1; it MUST be in RFC 1123 date format: Expires = "Expires" ":" HTTP-date An example of its use is Expires: Thu, 01 Dec 1994 16:00:00 GMT Note: if a response includes a Cache-Control field with the max- age directive (see section 14.9.3), that directive overrides the Expires field. HTTP/1.1 clients and caches MUST treat other invalid date formats, especially including the value "0", as in the past (i.e., "already expired"). To mark a response as "already expired," an origin server sends an Expires date that is equal to the Date header value. (See the rules for expiration calculations in section 13.2.4.) On 3/9/07, Andrew Scott <[EMAIL PROTECTED]> wrote: > Correct me if I am wrong that as long as the expires time, is anything in > the past will flush the cache. > > And have always used the date of 1900-01-01 and it always appeared to work > for me, now you have me curious whether it actual is or not. > > > > > On 3/9/07, Matt Quackenbush <[EMAIL PROTECTED]> wrote: > > > > Wow. Thanks for posting the solution. I had been working with the exact > > same issue, and had used everything you just posted except for > > GetHttpTimeString(). Nothing I tried was working either, but your find is > > working beautifully for me as well. > > > > > > Matt > > > > > > I think I solved the issue by adding server side headers: > > > > > > <cfheader name="cache-control" value="no-cache, no-store, > > must-revalidate" > > > /> > > > <cfheader name="cache-control" value="post-check=0, pre-check=0" > > /> > > > <cfheader name="expires" value="#GetHttpTimeString(Now())#"> > > > <cfheader name="last-modified" value="Mon, 26 Jul 1997 08:00:00 > > > GMT" > > > /> > > > <cfheader name="pragma" value="no-cache" /> > > > > > > and it seems it worked > > > > > > Victor > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade & see new features. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272132 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

