On Dec 3, 2003, at 3:34 PM, Brian LeRoux wrote:
<cfif not isDefined( 'application.dsn' )>
        <cfset application.dsn = "foo"/>
</cfif>
Is there a reason to not use cfparam in this case?

I strongly suspect that cfparam is not atomic at the generated code level and therefore is no more thread safe than the explicit cfif / cfset approach.


Sean A Corfield -- http://www.corfield.org/blog/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email.


CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

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

Reply via email to