May be a bit confusing all the <cfif> blocks, but there are 2. On 'good',
one bad. Here again a rip from cfa_page and take a look at the fist <cfif>
block:
<cfif NOT isdefined("form.fieldnames")
AND ( not isdefined("request.cfa.activeApplication") or
request.cfa[request.cfa.activeApplication].mode is "BROWSE" )>
<cfif isDefined("attributes.cacheDirectory") and
trim(attributes.cacheDirectory) is not "">
<cfcache
action = "optimal"
timeOut="#cacheTimeOut#"
cachedDirectory = "#attributes.cacheDirectory#"
directory="#attributes.cacheDirectory#"
>
<cfelseif trim(cacheDirectory) is not "">
<cfcache
action="optimal"
timeOut="#cacheTimeOut#"
cachedDirectory = "#cacheDirectory#"
cacheDirectory = "#cacheDirectory#"
directory = "#cacheDirectory#"
>
<cfelse>
<cfcache
action="optimal"
timeOut="#cacheTimeOut#">
</cfif>
<cfset request.cfa.siteModel.bdisablecfa_contentobjectbusecache = 1>
</cfif>
Regards,
Johan
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.