Bryan Stevenson wrote:
>> I'm on MX7, so it should be fine, but what about race conditions? Those can
>> easily occur no? People don't lock their shopping carts in MX7? What about
>> application scope vars, that's race-condition central..
> 
> appliocation/session/server scopes are all handled automatically

They are not automatically protected against race conditions. 
Guess what happens when the following templates run concurrently:

up.cfm:
<cfloop from="1" to="100" index="application.i" step="1">
   do something
</cfloop>

down.cfm:
<cfloop from="100" to="1" index="application.i" step="-1">
   do something
</cfloop>

Jochem

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229365
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to