[thelist] Page is not updated before refresh (CF)

Seth Bienek seth at sethbienek.com
Fri Sep 22 14:50:47 CDT 2000


Hi Minh,

You can use the following HTML in the template you don't want to be cached.
Bulky, yes, but it should correct the problem you're having.

CF-Specific code:
<CFHEADER NAME="Cache-Control" VALUE="max-age=0, must-revalidate">
<CFHEADER NAME="Expires" VALUE="Tue, 01 Jan 1990 1:00:00 GMT">
<CFHEADER NAME="Pragma" VALUE="no-cache">

Non-CF version (browser dependent):
<META HTTP-EQUIV="Cache-Control" VALUE="max-age=0, must-revalidate">
<META HTTP-EQUIV="Expires" VALUE="Tue, 01 Jan 1990 1:00:00 GMT">
<META HTTP-EQUIV="Pragma" VALUE="no-cache">

Best Regards,

Seth

------------------------------
Seth Bienek
Stonebridge Technologies, Inc.
972.455.7294 tel
972.404.9754 fax
------------------------------

> -----Original Message-----
> From: thelist-admin at lists.evolt.org
> [mailto:thelist-admin at lists.evolt.org]On Behalf Of Minh Lee Goon
> Sent: Friday, September 22, 2000 1:50 PM
> To: evolt
> Subject: [thelist] Page is not updated before refresh (CF)
>
>
> Hi all.
> I've been having a lot of fun with CF lately but one thing has been
> bothering me. I've kinda found a way around it but I wondered what the
> more enlightened in our group are doing.
>
> I have a few forms that I use to update information in my various
> databases. Anyway, after updating that information, I use <cflocation>
> to redirect the user back to that same page. The information on that
> page doesn't reflect the changes I just made until I press refresh.
> Instead of having the users do that, I just have an action page for my
> forms and a <meta> to refresh after a quick flash that the operation has
> been completed.
>
> Is anyone out there doing something different that would help me avoid
> that refresh page? I'd like to be able to just skip right into that same
> page with the updated information. Recommendations?
>
> Thanks in advance.
>
> </ml>
>
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt !
>
>






More information about the thelist mailing list