> Okay, so the idea is that if you suspect the potential for a > race condition, > > <cflock name="session.mySessionVar" timeout="10" type="exclusive"> > <cfset session.mySessionVar = 123> > </cflock> > > Something like that??
That would block anyone else running the same page, and you don't want that. Instead, create a unique lock name for each session: <cflock name="#Session.SessionID#_mySessionVar" ... > Again, when would best practices dictate locking the entire > session (or application) scope under MX7? Almost never, in my opinion. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & Flex 2. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271143 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

