>Is the a code that will successfully prevent a  .cfm page from being =
>cached on a users browser that will work effectively across browsers

Yes.

You should set up a variable (preferably in  your application.cfm) that sets a
random number and append that to all your URLs, eg:

<cfset token="nc=#randrange(1,999999)#">

<cfoutput>
<a href="newpage.cfm?#token#">Click here to go to the non-cached page</a>
</cfoutput>


The URL will end up something like:  newpage.cfm?nc=12314. The dummy argument is
ignored by the browser.

This will force the browser to get new pages because all the URLs are different.
I had big caching problems with Mac Internet Explorer 4.5 before implementing
this.


--------
Rob Keniger


------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to