Put them in the request scope, in the onRequestStart() method. The onApplicationStart() method will work as long as the application is starting. This isn't the only place you can put things in the application scope though. In onRequestStart() you can add the queries to the application scope based on the existence of a URL variable, for example (e.g. URL.reinit as used in BlogCFC and other apps).
On 5/29/07, Ravi Gehlot <[EMAIL PROTECTED]> wrote: > Hey James, > > If you use onRequest as your method then when you execute the > application (index.cfm) you get a blank page instead of the actual > application page. I tried to put the queries instead inside of the > onApplicationStart but got no luck. Actually it is even worse if you > include them inside of the onApplicationStart because they do not run at > all. -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:279412 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4