wrapping, so you're right about that. However, since the variable you're
checking isn't the last variable initialized and/or the check isn't within a
CFLOCK, you can potentially get request that proceed past the
initialization, before everything is initialized, undoubtedly causing chaos.
Glad to hear you got it fixed though. Hope I was of some assistance, and
not just a blundering, half-understanding idiot.
Cheers,
barneyb
> -----Original Message-----
> From: Brook Davies [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 29, 2004 10:00 PM
> To: CF-Talk
> Subject: RE: Debugging CFMX
>
> Barney, I'm just re-reading this now and about to implement
> some of your
> suggestions. I though that this did the same thing, because
> the isdefined
> is checked inside the lock also? What am I missing?
>
> <cfif not isdefined("application.ComponentInstance.lfInsertData") or
> (attributes.refreshnow)>
> <!--- if the components are not defined set this
> var to true --->
> <cflock type="EXCLUSIVE" scope="APPLICATION" timeout="60">
> <!--- this flag will ensure that components
> are created by
> this thread only --->
> <cfif not
> isdefined("application.ComponentInstance.lfInsertData")>
>
> <!--- do it --->
>
> </cfif>
> </cflock>
> </cfif>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

