Am having some caching problems, have to hit referesh on pages to show
latest data. Tried the below code, but no luck, links are still showing
cached data.

Would this be because ethe pages were already cached in my browser
before I added this code, or should these headers automatically expire
anything I have cached.

> 
> <cfscript>
> gmt = gettimezoneinfo();
> gmt = gmt.utcHourOffset;
> IF (gmt EQ 0) {
>       gmt = "";
> } ELSE {
>       if (gmt GT 0) {
>       gmt = "+" & gmt;
>       }
> }
> </cfscript>
> 
> <CFHEADER NAME="Pragma" VALUE="no-cache">
> <CFHEADER NAME="Cache-Control" VALUE="no-cache,
> must-revalidate"> <CFHEADER NAME="Last-Modified" 
> VALUE="#dateformat(now(), 'ddd, dd mmm yyyy')# 
> #timeformat(now(), 'HH:mm:ss')# GMT#gmt#"> <CFHEADER 
> NAME="Expires" VALUE="Mon, 26 Jul 1997 05:00:00 GMT">





-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to