----- Original Message -----
From: "Webmaster" <[EMAIL PROTECTED]>
> If I reference an APPLICATION var using isDefined, do I have to read
lock
> it. Is the var really being read?
---------------------------
Yep - if you're not on CFMX, even IsDefined("sharedScope.varName") needs a
lock around it. If you need to reference this more than once in a template,
of course, set a temp variable:
<cflock scope="APPLICATION" type="READONLY" timeout="10">
<cfset request.varIsDefined = IsDefined("application.var")>
</cflock>
Gyrus
[EMAIL PROTECTED]
work: http://www.tengai.co.uk
play: http://norlonto.net
PGP key available
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community. http://www.fusionauthority.com/ads.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4