Thanks for clearing that up Jason.

On 2 Nov 2009, at 11:50, Jason Fisher wrote:

>
> Yes, in the methods of Application.cfc, you need to specify the scope,
> including the Application scope.  For Application attributes
> (sessiontimeout, name, etc), you can specify those in the THIS scope,
> but only outside the methods:
>
> <cfcomponent>
> <cfset this.name = "myApp" />
> <cfset this.sessionManagment = true />
> ...
>
> But even Application attributes have to be scoped inside the
> onApplicationStart method:
>
> <cffunction name="onApplicationStart">
> <cfset application.name = "myApp" />
> ...


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327899
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