Actually, it's not just expressions that are race conditions that need to be
locked but any shared scope variable that may be subject to a race condition
in your application.

Since cartTotal may be incremented at some point, then all accesses to it
need to be locked.

HTH,

Sam

> -----Original Message-----
> From: Nick de Voil [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 28, 2003 8:46 AM
> To: CF-Talk
> Subject: Re: Scope Locking (RE: Blue Dragon and Fusebox)
>
(snip)
>
> So if you said
>
> <cfset session.cartTotal = 1000000>
>
> for example, that couldn't cause a problem. Except for the
> shopper's credit rating.
>
> Maybe?
>
> Nick
>
>

[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to