Sorry to - butt in but something somebody said earlier just now struck me.

It was mentioned that people are doing something like the following to make
queries thread safe:

<cfset var myQuery = QueryNew() />
<cfquery name="myQuery"...

Is that needed?  It would seem to me, first that the following would work
just as well and not require the additional function:

<cfset var myQuery = "" />
<cfquery name="myQuery"...

However my main concern is that my solution works which is the following:

<cfset var local = StructNew() />
<cfquery name="local.CheckAgent"...

I've labored (and labored and labored) under the assumption that the above
is thread-safe.  Is it?  Opinions?  Since I'm brain dead and working on a
hundred different things anybody have a simple way to test?

Thanks,

Jim Davis







----------------------------------------------------------
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