Josh -

This is not somewhere where a named lock should be required.

This is a case of a variable somewhere along the stream not being
var'd properly.

Mark

On 7/17/07, Josh Nathanson <[EMAIL PROTECTED]> wrote:
> > Just curious, why do you care if multiple threads are reading the database
> > from this gateway at the same time?
> >
> > There are always "race" conditions in shared scopes, but you only need to
> > lock them when actually have consequences.
>
> It's a multi-tenant application.  People in one account were seeing other
> accounts' information.  I'd say that counts as consequences.
>
> As I said I've never needed nor wanted to use locks before, but this
> definitely looks like a situation where one is warranted.
>
> I was thinking about using a named lock, but I thought since this CFC is
> cached in the Application scope that would be more appropriate.   I'll give
> the named lock a try.
>
> -- Josh
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion 8 beta – Build next generation applications today.
Free beta download on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283833
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to