no... the arguments scope is function local just like the "var" scope
(however I believe you should explicitly say "arguments.fieldValue" in
your code. Why do you think race conditions would occur on this one...
all you're doing is returning a value passed to the method.
>>> [EMAIL PROTECTED] 04/28/06 9:39 AM >>>
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]
-----------------------------------------
CONFIDENTIALITY NOTICE: This email and any attachments may contain
confidential information that is protected by law and is for the
sole use of the individuals or entities to which it is addressed.
If you are not the intended recipient, please notify the sender by
replying to this email and destroying all copies of the
communication and attachments. Further use, disclosure, copying,
distribution of, or reliance upon the contents of this email and
attachments is strictly prohibited. To contact Albany Medical
Center, or for a copy of our privacy practices, please visit us on
the Internet at www.amc.edu.
----------------------------------------------------------
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]