The SESSION type should only be used for the setting or updating of Session
variables. Later versions of CF are not as unforgiving for the lack of using
CFLOCK but you would be a better programmer, particularly in a hosted
environment, to continue to lock crucial elements of your code.

You should only require a CFLOCK when setting a Session level variable. It
should not be required when reading from this scope.

The EXCLUSIVE type prevents the same section of code being executed
concurrently so is ideal in  say the update of a database. Because of this
exclusivity it should also be used with caution as server bottlenecks can
occur.

Peter Tilbrook
ColdFusion Applications Developer
ColdGen Internet Solutions
4/73 Tharwa Road
Queanbeyan, NSW, 2620
AUSTRALIA

Telephone: +61-2-6284-2727
Mobile: +61-0439-401-823
E-mail: [EMAIL PROTECTED]

World Wide Web: http:/www.coldgen.com/


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Reply via email to