I got it!

This problem has been solved.

Thanks,
Ravi.

Sean Corfield wrote:
> On 5/29/07, Ravi Gehlot <[EMAIL PROTECTED]> wrote:
>   
>> When you say you have to explicitly put it "there". Can you explain where?
>>     
>
> Took me a while to realize you're asking Andy even tho' you're quoting
> my email...
>
>   
>>> On 5/29/07, Andy Matthews <[EMAIL PROTECTED]> wrote:
>>>       
>>>> I believe that for a variable/query to be available in the APPLICATION
>>>> scope, you have to explicitly put it there. Just placing it inside the
>>>> onApplicationStart doesn't do anything for you (I think).
>>>>         
>
> He means you have to explicitly put the variable/query in the application 
> scope:
>
> <cfset application.someVar = someValue />
>
> Just placing a regular variable assignment inside onApplicationStart()
> does not place anything in application scope:
>
> <!--- this goes in variables scope, even inside onApplicationStart() --->
> <cfset someVar = someValue />
>
> (Not sure why anyone would think it would behave differently?)
>
> Once again, I strongly recommend reading the chapter on
> Application.cfc in the Developer's Guide as it explains the whole
> migration process from Application.cfm / OnRequestEnd.cfc and gives
> plenty of examples and talks about the use cases for each handler
> method.
>   


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


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:279483
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