> oh, and, isdefined does *not* need to be locked. you only 
> need to lock variables scoped as application, session, and 
> server.

Dina is right about this, but just to clarify, if you're using CF 4.x or CF
5, and you're referencing a memory variable (Session, Application, Server),
even within an IsDefined, you need to lock that variable reference.

<cfif IsDefined("Application.foo")>...  <-- need to lock

<cfif IsDefined("Variables.bar")>...    <-- don't need to lock

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to