> I have a custom tag that wants to use application variables 
> (for performance). Since you need to run a cfapplication tag 
> to use the application scope, it needs to somehow check if 
> that tag has run. I have no clue how to do this. Is it 
> possible? 

I would think that you should be able to do this:

<cfif IsDefined("Application")>
 ... the application scope exists! Woohoo! ...
</cfif>

> Also, just to make sure - custom tags do have 
> normal access to the application scope, correct?

Yes, although in general, when you write code modules, you may want to limit
access to and from the modules to defined inputs and outputs.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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

Get the mailserver that powers this list at 
http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to