Correct Charlie, but in this case it would be helpful to ensure you always get fresh content until everything starts working. You can alternatively use a MITM proxy like Paros to ensure all caching headers are ignored, thereby pulling fresh content all the time too.

-dhs


Dean H. Saxe, CISSP,  CEH
[EMAIL PROTECTED]
"[T]he people can always be brought to the bidding of the leaders. This is easy. All you have to do is to tell them they are being attacked, and denounce the pacifists for lack of patriotism and exposing the country to danger. It works the same in every country."
    --Hermann Goering, Hitler's Reich-Marshall at the Nuremberg Trials


On Aug 28, 2007, at 11:09 PM, Charlie Arehart wrote:

Though doesn't it make sense to add that there are times when the content of
the page might not otherwise call for those settings? If you set them
always, you could force reloads of the page when it might otherwise benefit
from caching.

I just meant to say that when first building (or when editing) the code that builds such a page, you just want to keep this caveat in mind (of needing sometimes to "re-open" the page) if you ever browse the page and get an error, or perhaps even when you modify a working page. You just need to force a reload (and I thought I'd noticed that forced reloads, as available
in various browsers) didn't do the trick.

/charlie

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dean H. Saxe
Sent: Tuesday, August 28, 2007 6:22 PM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] cfcontent in IE7

FWIW, you should use the Pragma: no-cache, Expires: 0 and Cache-
Control: no-cache, no-store, must-revalidate for such requests to prevent
exactly what Charlie is referring to.

-dhs


Dean H. Saxe, CISSP, CEH
[EMAIL PROTECTED]
"[U]nconstitutional behavior by the authorities is constrained only by the
peoples' willingness to contest them"
     --John Perry Barlow


On Aug 28, 2007, at 5:54 PM, Charlie Arehart wrote:

Besides the (as always) sage advice of Dean and Doug, I'll note as
well that sometimes when working with this sort of code, things fail
simply because the first time you ran the code there was an error, and you fixed it, and refreshed the page, but the browser is still caching
the old bad page (or just some aspect of it).

Try closing the browser and reopening it (or even just browsing the
page in a new window or tab). Let us know if that works.

There could be other issues, of course. I've not considered your code
carefully. This is just such a common problem and easy first solution
to try/rule out.

/charlie




-------------------------------------------------------------
Annual Sponsor FigLeaf Software - http://www.figleaf.com

To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------






-------------------------------------------------------------
Annual Sponsor FigLeaf Software - http://www.figleaf.com

To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------



Reply via email to