What is the best pratice when in comes to using cflock looking at the code snippets below? Basically does a session-based <cfif> block need to be nested within a cflock or not? I'm pretty sure it does. Thanks, Che
<cflock timeout="20" throwontimeout="No" type="READONLY" scope="SESSION"> <cfif arrayLen(session.customer.custerrors)> some code here... </cfif> </cflock> or... <cfif arrayLen(session.customer.custerrors)> <cflock timeout="20" throwontimeout="No" type="READONLY" scope="SESSION"> some code here... </cflock> </cfif> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:326142 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4