Very unlikely, the directory definitely exists, since it's our main repository for documents...we aren't creating it all the time, it's just a best practice that we're checking for existence.
>Could this same code be run concurrently by two threads/users? One thread >could be int he process of creating the Dir when another does it's >dirExists() check. You may want to toss a named lock around it to make >sure only one process is messing with the directory at once. I'd use >hash(dirpath) as the name of the lock to make it a clean unique URL with no >special characters.. > >-Cameron > >On Tue, Dec 6, 2011 at 4:56 PM, Shannon Rhodes <[email protected]>wrote: > >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348994 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

