According to Allaire documentation, all reads/writes to application
variables should be protected with a lock. Does this mean that I only really
need to lock variables that I set in the application.cfm -OR- does it mean
that I really need to lock every instance in the entire application?
for example:
<cfoutput>
Thank you for visiting the
<cflock ...>#application.applicationName#</cflock>
sponsored by
<cflock ...>#application.companyName#</cflock>
</cfoutput>
<cflock ...>
<cfif application.appOpen>
<A href="here.cfm">Click Here</a> to begin
</cfif>
</cflock>
if it is the latter, what happens when the variable is include another tag,
such as CFIF or CFQUERY? don't you have to lock the entire tag, i.e.:
<cflock ...>
<cfquery datasource="#application.dataSource#">
SELECT... FROM... WHERE...
</cfquery>
</cflock>
-mike
------------------------------------------------------------------------------
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.