"If you do not include an onRequest method in Application.cfm(sic)
file, the onRequestStart method does not share a Variables scope with
the requested page, but it does share Request scope variables."

http://livedocs.adobe.com/coldfusion/7/htmldocs/00001120.htm

Put the queries in the request scope (or even better, consider the
application scope so you don't have to do them on every single
request).

On 5/29/07, Ravi Gehlot <[EMAIL PROTECTED]> wrote:
> I got Application.CFC with a <cfcomponent> and a <cffunction> method
> onRequestStart and onApplicationStart. I put 3 queries on the cffunction
> method onRequestStart but amazingly the queries are not available for
> use throughout the application even though it shows me on the debug
> screen "SQL Queries" with all the queries. What is going on?


-- 
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:279406
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to