No, you don't need to call it manually.

Does it work if you use Application.cfc to set the app paramaters?

http://livedocs.macromedia.com/coldfusion/7/htmldocs/00001115.htm

-----Original Message-----
From: Bert Dawson [mailto:[EMAIL PROTECTED] 
Sent: Friday, 11 February 2005 9:27 
To: CF-Talk
Subject: Re: can't get onApplicationStart to fire...

I'm confused now: I'm i right in thinking that onApplicationStart() should
fire automatically when the application starts?
And by "application starting" i mean the first time a cfapplication tag with
a particular application name is run (assuming server has just restarted).

If thats correct then i can't get it to work: my onApplicationStart() never
fires.

Or am i supposed to call it manually:
ie
<cfapplication name="myApp">
<cfif NOT IsDefined('application.started')>
  <cfset onApplicationStart()>
</cfif>

Cheers
Bert

On Fri, 11 Feb 2005 06:36:19 -0600, Raymond Camden <[EMAIL PROTECTED]>
wrote:
> You may also want to consider a very low app timeout while testing.
> You may also want to consider putting something like this in your
> onRequestStart:
> 
> if  isDefined("url.reinit") onApplicationStart()
> 
> Unfortunately, this will only run you rmethod. It will not "reset" the 
> Application like a true restart. But in most cases you don't really 
> care.
> 
> I've already bugged MACR about adding a "real" way to programatically 
> restart an App/Session.
> 
>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:194240
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to