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:326150
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to