the 'this' scope corresponds to the CFAPPLICATION tag, not the
application scope.  If you want to set stuff into the application
scope you have to use it literally.  A concrete example: setting
this.name is equivalent to passing the NAME attribute to
CFAPPLICATION, which in turn is available as the
application.applicationname variable.

cheers,
barneyb

On Tue, Jun 10, 2008 at 3:58 PM, Alex Pogodin <[EMAIL PROTECTED]> wrote:
> Hi everyone!
>
> Can somebody explain me why assigning a value to This.Blah inside
> Application.cfc doesn't affect Application struct itself. Doesn't
> Application.cfc represent an application scope? if so, why assigning
> this.name inside cfc affects Application. and one more related question:
> do I need to explicitly use Application scoping inside Application.cfc?
>
> Any info is very appreciated.
>
> Thanks in advance,
> Alex
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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