Muchas gracias... thanks Jason... thanks for the affirmation...

-----Original Message-----
From: Jason Fisher [mailto:[email protected]] 
Sent: Wednesday, September 09, 2009 2:22 PM
To: cf-talk
Subject: RE: Quick question on cflock...


On CF8, following Charlie's response earlier, you do NOT need a READ lock,
unless you think there could be race conditions (a pending Ajax call that
writes the var you're trying to read, for example).  If you DO need to lock,
then, yes, the lock would go *outside* of the CFIF statement, since the
<cfif arrayLen(session.var)> is a READ function.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326151
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to