Ask a Question related to Macromedia ColdFusion, Design and Development.
-
thetawaverider #1
<cfheader> for preventing caching of pages
What is the point of using <cfheader> to effectively force the browser
not to cache any pages so that they reload from the server? I've put the
following:
<cfheader name="Expires" value="#GetHttpTimeString(Now())#">
<cfheader name="Pragma" value="no-cache">
in my Application page for this wizard. Using the wizard Back button
even with these headers brings up the previous page with the field
values filled in just as they were when I moved to the next step. These
headers are supposed to expire a posted page when the Back button is
used, thereby causing the page to be reloaded from the server. This
information, therefore, should not be filled in.
Am I using these tags incorrectly?
BTW, this was tested in both IE6 and Firefox.
Thanks,
TWR
thetawaverider Guest
-
Preventing page breaks in PDF on converted web pages
I've been happy with the speed and linking that is available when I convert web pages into pdf's. However, the pdf versions often break the pages at... -
swf streaming or preventing caching
Folks I have swf files generated from Captivate - I want to stream these to prevent browser caching and conceal original file location Can... -
Server caching pages
I'm running CFMX 6.1 on win2003/IIS6. I'm having a lot of trouble at the moment with the server caching the pages when not told to. Trusted cache is... -
Pages are caching somehow....HELP!!!!
I have an intranet where I am running a survey. Very simplified, user's information is pulled from the session information and automatically put... -
Lockdown tool preventing view of .asp pages?
Hello, I am trying access a virtual directory I set-up through IIS and my web pages are built on asp. I also ran the IIS Lockdown tool on the... -
gumshoe #2
Re: <cfheader> for preventing caching of pages
I could be wrong here, but I thought these tags would NOT work with the back
button, but only with actual requests to the server. The back button is at
the mercy of the user as they can opt to use a local cache.
"thetawaverider" <thetawaverider@gmail.com> wrote in message
news:d0fj4v$pi$2@forums.macromedia.com...> What is the point of using <cfheader> to effectively force the browser not
> to cache any pages so that they reload from the server? I've put the
> following:
>
> <cfheader name="Expires" value="#GetHttpTimeString(Now())#">
> <cfheader name="Pragma" value="no-cache">
>
> in my Application page for this wizard. Using the wizard Back button even
> with these headers brings up the previous page with the field values
> filled in just as they were when I moved to the next step. These headers
> are supposed to expire a posted page when the Back button is used, thereby
> causing the page to be reloaded from the server. This information,
> therefore, should not be filled in.
>
> Am I using these tags incorrectly?
>
> BTW, this was tested in both IE6 and Firefox.
>
> Thanks,
> TWR
gumshoe Guest
-
paross1 #3
Re: <cfheader> for preventing caching of pages
This seems to work for me....
<cfoutput>
<cfheader name="expires" value="#now()#">
<cfheader name="pragma" value="no-cache">
<cfheader name="cache-control" value="no-cache, no-store, must-revalidate">
</cfoutput>
paross1 Guest



Reply With Quote

