On 12/12/01, Tage Widsell penned:
>I know that I must lock every read from a shared scope variable, but what
>about checking for it's existence? Is that ok without locking? For example:
>
><cfif IsDefined("Server.webroot")>
>     ...do this and that...
></cfif>

isDefined is a Read. You'll only be able to leave it unlocked if 
Automatic Read Locking is enabled on the server.
-- 

Bud Schneehagen - Tropical Web Creations

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
ColdFusion Solutions / eCommerce Development
[EMAIL PROTECTED]
http://www.twcreations.com/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to