<cfheader name="Cache-Control" value="no-cache">
Mark
-----Original Message-----
From: Andrzej Michalski [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 26, 2004 9:06 AM
To: CF-Talk
Subject: Safari cache issue
We have a CFMX application which employs a frameset. A main frame for the site and a sub frame which acts like a shopping basket. The idea is that the customer clicks on items within the main frame, which in turn reloads the sub frame. This action (via a url variable) allows us to append to a session array (a list of id's in the shopping basket) and so display a revised shopping basket with the appropriate items within it. This works very well in all the browsers that we've tested (PC IE/Netscape, Mac IE). However within Safari on Mac OSX (we're trying v1.1 on OS X 10.3) the sub frame misbehaves as it will use any opportunity to display a cached version.
The sub frame is updated by a _javascript_ line on the main page like this:
top.subFrame.document.location.href="">
where thisUrl is the cfm page with its various URL params.
In trying to solve this we have added the following META tags:
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="Mon, 26 Jul 1997 05:00:00 GMT">
<META HTTP-EQUIV="Last-Modified" CONTENT="<cfoutput>#DateFormat(now(), 'ddd, dd mmm yyyy hh:mm:ss')#</cfoutput> GMT">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-store, no-cache, must-revalidate, max-age=0">
<META HTTP-EQUIV="Cache-Control" CONTENT="post-check=0, pre-check=0">
but still to no avail!
Anyone have any cunning suggestions?
_____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

