> Having a brain cramp on this one guys... > > How would one approach locking when reading a value from the APPLICATION > scope and subsequently writing it to the SESSION scope..? > > EXAMPLE > ------------------ > > <cfset session.foo = application.bar>
It depends. What version of CF is this? Is there any likelihood of a race condition with Application.bar? If there is the likelihood of a race condition with that variable, do I care? That is, could the race condition cause an improper value of any significance? Is there any likelihood of a race condition with Session.foo? If there is, do I care? 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! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323031 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

