[thelist] CFLOCK for session variables

Oliver Lineham oliver at lineham.co.nz
Wed Nov 8 06:53:57 CST 2000


Hi CF people,

When using CFLOCK with the "session" scope, does CF lock access to the 
session scope for *all* requests, or just the client whose session it is?

The latter makes more sense.  Two requests coming from different users in 
different, concurrent sessions cannot write to the same session variable - 
that's the whole point of session management and the session scope.

I just thought I'd check, because if this is not the case (illogical) it 
could have real performance implications for a web application.

Naturally, I'm only concerned about exclusive locks.


</ol>

____________________________________________________
     v i b e   m e d i a    http://www.vibe.co.nz/
  po box 10-492              wellington, new zealand
  phone +64 21 210-7845         oliver at lineham.co.nz




More information about the thelist mailing list