I use this - Stick it on the page that you want the content to never be
cache.. It should do what you need as it will force the browser to
reload the page (may not work if the previous page is a result of a form
submission though)

<!--- Push a nocache into HTML header --->
<cfparam name="request.nocachesent" default="false">
<cfif NOT request.nocachesent>
        <cfhtmlhead text="<meta http-equiv=""Pragma""
content=""no-cache"">">
        <cfheader name = "Expires" value = "Tue, 20 Aug 1996 00:00:00
gmt">
        <cfheader name = "Pragma" value = "no-cache">
        <cfheader name = "Cache-Control" value = "no-cache">
        <cfset request.nocachesent = true>
</cfif>

Hope it helps

Martin Parry
Macromedia Certified Developer
http://www.BeetrootStreet.com

-----Original Message-----
From: Nando [mailto:[EMAIL PROTECTED] 
Sent: 25 November 2004 14:16
To: CF-Talk
Subject: Browser back button

Hi all,

Is there a way to refresh the page if a user uses the back button on
the browser? I need to ensure that some unique page-specific variables
set in certain circumstances. Any other back button "tricks" i could
fall back on?

thanks,
Nando



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185394
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to