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]
- RE: Scope Locking (RE: Blue Dragon and F... Samuel R. Neff
- Re: Scope Locking (RE: Blue Dragon ... Calvin Ward
- RE: Scope Locking (RE: Blue Dra... Samuel R. Neff
- Re: Scope Locking (RE: Blue Dra... Calvin Ward
- RE: Scope Locking (RE: Blue Dra... Raymond Camden
- RE: Scope Locking (RE: Blue Dragon and Fusebox) Dave Watts
- RE: Scope Locking (RE: Blue Dragon and Fusebox) Raymond Camden
- RE: Scope Locking (RE: Blue Dragon and Fusebox) Andre Turrettini
- RE: Scope Locking (RE: Blue Dragon and Fusebox) Raymond Camden
- Re: Scope Locking (RE: Blue Dragon and Fusebox) Nick de Voil
- RE: Scope Locking (RE: Blue Dragon and Fusebox) Samuel R. Neff
- RE: Scope Locking (RE: Blue Dragon and Fusebox) Andre Turrettini
- RE: Scope Locking (RE: Blue Dragon and Fusebox) Raymond Camden
- Re: Scope Locking (RE: Blue Dragon and Fusebox) Calvin Ward
- RE: Scope Locking (RE: Blue Dragon and Fusebox) Samuel R. Neff
- RE: Scope Locking (RE: Blue Dragon and Fusebox) Dave Watts
- RE: Scope Locking (RE: Blue Dragon and Fusebox) Andre Turrettini
- RE: Scope Locking (RE: Blue Dragon and Fusebox) Dave Watts
- Re: Scope Locking (RE: Blue Dragon and Fusebox) Calvin Ward