In Adobe ColdFusion, if
<cfset Application.obj = CreateObject("component","ComponentName")>
<cfset myResult = Application.obj.FunctionName()>
I'm concerned that a var declared in the function's local scope might have concurrency problems because Application.obj is stored in the Application scope.
<cffunction name="FunctionName">
<cfset var local = {}>
(pretend some long process happens here)
<cfif condition>
<cfset local.result = True>
<cfelse>
<cfset local.result = False>
</cfif>
<cfreturn local.result>
If two people are in that function at the same time, will the result for person 1 corrupt the result for person 2?