> Okay.. so, is cflock in or out these days?

If you're still working with CF 5 or earlier, locking is very important if
you want your server to continue working. If you're using a newer version,
locking is only needed when you may have a race condition. Race conditions
arise when you have concurrent requests that may access the same piece of
data, and as a result may generate unintended results. If there's no
potential for a race condition, or you don't care if there is one, you don't
need to lock.

> Should I be using cflock around session variable reads?  writes?

This all depends on the factors mentioned above.

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!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:252300
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