Try this:

<meta http-equiv="Expires" content="0">
<!--- setup our expire times for NN and MSIE --->
<cfoutput>
        <!--- MSIE (Fri, 30 Oct 1998 14:19:41 GMT) --->
        <cfset
MSIEtimestamp='#dateformat(now(),"DDD")#,#dateformat(now(),"DD")#
#dateformat(now(),"Mmm")# #timeformat(now(),"HH:MM:SS")#'>
        <!--- Netscape (Wednesday, Apr 26 2000 17:45:25 PM) --->
        <cfset
NETSCAPEtimestamp='#dateformat(now(),"DDDD")#,#dateformat(now(),"MMM")#
#dateformat(now(),"dd")# #dateformat(now(),"YYY")#
#timeformat(now(),"HH:MM:SS tt")#'>
</cfoutput>
<!--- tell HTTP Header to force expire of pate - nocache --->
<cfif HTTP_USER_AGENT contains "MSIE">
        <cfheader name="Expires"
value="<cfoutput>#MSIEtimestamp#</cfoutput>">
        <cfheader name="Pragma" value="no-cache">
        <cfheader name="cache-control" value="no-cache, no-store,
must-revalidate">
<cfelse>
        <cfheader name="Expires"
value="<cfoutput>#NETSCAPEtimestamp#</cfoutput>">
        <cfheader name="Pragma" value="no-cache">
        <cfheader name="cache-control" value="no-cache, no-store,
must-revalidate">
</cfif>

Steven Semrau
SRA International, Inc.
Senior Member, Professional Staff
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Com:  (703) 805-1095
DSN:  (703) 655-1095


-----Original Message-----
From: Parker, Kevin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 03, 2001 10:45 PM
To: CF-Talk
Subject: Refresh again


I'm trying to get a CF page to refresh when the back button is hit but it
doesn't seem to want to behave. I'm using this in between the head tags. Any
advice please.


<META HTTP-EQUIV="expires" CONTENT="Wed, 01 Jan 1996 01:00:00 GMT">



****

Kevin Parker
Web Services Manager
WorkCover Corporation

[EMAIL PROTECTED]

www.workcover.com

p: +61 8 82332548
f: +61 8 82332000
m: 0418 800 287





****************************************************************************
This e-mail is intended for the use of the addressee only. It may contain
information that is protected by legislated confidentiality and/or is
legally privileged. If you are not the intended recipient you are prohibited
from disseminating, distributing or copying this e-mail. Any opinion
expressed in this e-mail may not necessarily be that of the WorkCover
Corporation of South Australia. Although precautions have been taken, the
sender cannot warrant that this e-mail or any files transmitted with it are
free of viruses or any other defect.
If you have received this e-mail in error, please notify the sender
immediately by return e-mail and destroy the original e-mail and any copies.
****************************************************************************
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to