While there arguably are circumstances where you don't need to lock, if
you just do it always, everywhere (subject to the smart use of temp vars
as was pointed out already), your code will work properly.  I have yet
to see any instance where locking instituted any noticeable performance
penalty at any level.  

Just Say Yes to CFLock... Always and Forevermore.

:-)

--------------------------------------------
 Matt Robertson       [EMAIL PROTECTED] 
 MSB Designs, Inc.  http://mysecretbase.com
--------------------------------------------

-----Original Message-----
From: Webmaster [mailto:[EMAIL PROTECTED]] 
Sent: Sunday, January 12, 2003 12:24 PM
To: CF-Talk
Subject: Another Locking Question


Hi,
  If I reference an APPLICATION var using isDefined, do I have to read
lock
it.  Is the var really being read?



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to