Matt C said the following on 06/01/2011 02:18 PM: > I can access that query on any page as needed via the application scope Application.cfc has application life cycle methods in it. These methods are fired by the CFML engine when each application life cycle events occur (ie. onApplicationStart, onRequestStart, etc.).
However you won't be able to put a method in the Application.cfc (like foobar() method) and then call it like application.foobar(). You could however have an Utility.cfc that you create in your onApplicationStart() method and assign that CFC to application.utility and then call application.utility.foobar() in your application. HTH, .Peter -- Peter J. Farrell [email protected] [email protected] http://blog.maestropublishing.com Identi.ca / Twitter: @maestrofjp -- official tag/function reference: http://openbd.org/manual/ mailing list - http://groups.google.com/group/openbd?hl=en
