Re: No Longer Need to Lock Session Variables?

2007-12-09 Thread Casey Dougall
On 12/9/07, Rick Faircloth <[EMAIL PROTECTED]> wrote: > > Hi, all. > > Now, remember, I'm still learning to write CF8 code straight > from CF4.5 code, so. > > Is my understanding correct that I no longer need to place > cflocks around any setting or reading of session variables? > > Thanks, > > Ric

Re: No Longer Need to Lock Session Variables?

2007-12-09 Thread Matt Robertson
Not really. You still need to lock around any potential race conditions. Perosnally I tend not to lock reads and always lock writes, unless there is a race condition possibility on the read, in which case I lock that too.. -- [EMAIL PROTECTED] Janitor, The Robertson Team mysecretbase.com ~

RE: No Longer Need to Lock Session Variables?

2007-12-09 Thread Jim Davis
> -Original Message- > From: Rick Faircloth [mailto:[EMAIL PROTECTED] > Sent: Sunday, December 09, 2007 1:18 PM > To: CF-Talk > Subject: No Longer Need to Lock Session Variables? > > Hi, all. > > Now, remember, I'm still learning to write CF8 code straight > from CF4.5 code, so. > > Is m

RE: No Longer Need to Lock Session Variables?

2007-12-09 Thread Rick Faircloth
Casey, Matt, & Jim... Thanks for the info! Rick > -Original Message- > From: Jim Davis [mailto:[EMAIL PROTECTED] > Sent: Sunday, December 09, 2007 2:14 PM > To: CF-Talk > Subject: RE: No Longer Need to Lock Session Variables? > > In short you no longer need to

Re: No Longer Need to Lock Session Variables?

2007-12-09 Thread Nicholas M Tunney
>> Sent: Sunday, December 09, 2007 2:14 PM >> To: CF-Talk >> Subject: RE: No Longer Need to Lock Session Variables? >> >> In short you no longer need to do this to ensure server reliability (the >> structures which hold this information are now thread-safe) - no m

RE: No Longer Need to Lock Session Variables?

2007-12-09 Thread Rick Faircloth
ECTED] > Sent: Sunday, December 09, 2007 8:54 PM > To: CF-Talk > Subject: Re: No Longer Need to Lock Session Variables? > > I didn't see earlier posts to this thread, but it is worth noting that > if you are using Application.cfc and calling onApplicationStart() or > onSession