Matt,
As far as I know if you server scope your variable it will be
available throughout your entire application as well as to all of the
other applications on that server. Depending on how your network is set
up that server scoped variable might be available throughout a node of
servers also. In my view, putting it on Application.cfc does make sense
because the application uses functions to called methods so if
onServerStart existed it could be called as a method through cffunction
via the cfcomponent on the Application.cfc file.
Ravi.
Matt Williams wrote:
> And even if onServerStart() did exist, putting it in Application.CFC
> does not make sense to me. We would need a Server.cfc or something
> that existed outside of webroot, possibly in the JRun/CFusionMX
> directory. Or maybe you could just set some server variables in the CF
> Administrator, the way we define mappings or Data sources, etc. It
> would need to be something that was loaded automatically whenever the
> CF service was started.
>
> On 6/8/07, Dave Watts <[EMAIL PROTECTED]> wrote:
>
>>> Not if the variables are set in the onServerStart method.
>>>
>> To the best of my knowledge, there is no such event method in CF 7. While
>> you could write a method and call it onServerStart, it wouldn't run when the
>> server started.
>>
>> Dave Watts, CTO, Fig Leaf Software
>> http://www.figleaf.com/
>>
>> Fig Leaf Software provides the highest caliber vendor-authorized
>> instruction at our training centers in Washington DC, Atlanta,
>> Chicago, Baltimore, Northern Virginia, or on-site at your location.
>> Visit http://training.figleaf.com/ for more information!
>>
>> This email has been processed by SmoothZap - www.smoothwall.net
>>
>>
>>
>>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:280505
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4