<!--- Client side cache prevention --->
<meta http-equiv="Expires" content="0">
<!--- Setup our expire times for Netscape and Internet Explorer --->
<cfoutput>
<!--- Internet Explorer Date Formate: (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 Date Formate: 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 page - 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>
-----Original Message-----
From: Mark Smeets [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 30, 2002 1:19 PM
To: CF-Talk
Subject: Preventing user from going back
Hey all,
Does anyone have an easy way to prevent the user from going back to the
previous page?
--------------------------------------
Mark Smeets / stranger0 / ICQ: 1062196
[EMAIL PROTECTED]
http://www.prowerks.com/stranger
"Life is a series of small victories" - Gene Simmons
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists