Many other permutations of Var scope, Application scope questions have been answered on the list before but I can't find an answer in the archives to this one:
 
I have an application scoped CFC with the following (simplified) function:
 
<cffunction name = "method" output = "no" access = "public" returntype = "string">
 <cfargument name = "fieldValue" required = "true" type = "string" />
 <cfset var response = fieldValue & " was passed to the function" />
 <cfreturn response />
</cffunction>
 
Is it possible for race conditions to corrupt the value of 'response'? It looks like I should put a named lock in there but I can't have a <cflock> before the var scope declaration.
 
John


Switch an email account to Yahoo! Mail, you could win FIFA World Cup tickets. ----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com).

An archive of the CFCDev list is available at www.mail-archive.com/[email protected]

Reply via email to