The simple answer.

Add the following HTML in between the <HEAD> and </HEAD> tags of your page:

<meta http-equiv="Expires" content="-1">

the more complex answer is that not all browsers will take notice of this.
You may need to add additional headers using the CFHEADER tag.

<cfheader name="Cache-Control" value="no-cache">
<cfheader name="Cache-Control" value="private">
<cfheader name=""Cache-Control" value="no-store">
<cfheader name=""Cache-Control" value="must-revalidate">
<cfheader name=""Cache-Control" value="max-stale=0")>
<cfheader name=""Cache-Control" value="post-check=0">
<cfheader name=""Cache-Control" value="pre-check=0">
<cfheader name=""Pragma" value="no-cache">
<cfheader name=""Keep-Alive", "timeout=3, max=993">
<cfheader name=""Expires", "Mon, 26 Jul 1997 05:00:00 GMT">



On Wed, Nov 7, 2012 at 4:51 PM, Rob Voyle <robvo...@voyle.com> wrote:

>
> Hi Folks
>
> Is there anyway to ensure that a user starts with a "new" or fresh
> template that
> is loaded from the website and not from their computer's cache.
>
> I have a form that I update on my website, but people will often complete
> it from
> a version that is in their cache.
>
> Rob
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353074
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to