> Plenty of ways to do this, but I'd probably create a utilities.cfc and 
> then
> drop it into the application scope (in OnApplicationStart()).  That way,
> anytime you want to use it on your site, you just call it that way.

I concur with Crow - I was going to suggest exactly the same thing.  You 
could add the function right in App.cfc, then use cfinvoke to call the 
method, but I feel for cleanliness App.cfc should just contain those native 
functions (onApplicationStart etc.).

-- Josh 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287212
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
  • Re: application.cfc question Josh Nathanson

Reply via email to