> <cfset application.flag = true /> no on its own that can not cause a race condition, but if somewhere else there is a read on that variable somewhere then that will cause a race condition.
So in that scenario if it potentially can cause a race condition then lock it, as Ben Forta says. Now as this debate is being discussed because of a CFC inside of a session scope, there is an extremely high chance that a race condtion is going to occur, so as Ben says lock it. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion MX7 and Flex 2 Build sales & marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275258 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

