When put on method onRequestStart() I can see the SQL Queries on the 
debug screen but it the query variables can't be used on the 
application? Where am I loosing you?

Ravi.

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


-- 
-------------------------------------------
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.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:279414
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