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.

Ravi.

James Holmes wrote:
> "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?
>>     
>
>
>   


-- 
-------------------------------------------
Ravi Gehlot.
Sr. Management
Sunshine Technology Solutions, LLC
http://www.sunshinetechsolutions.com/
-------------------------------------------

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

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

Reply via email to