I could formalize this to also | execute some code when the compilation occurs, and this event then | might be called: | | Global_OnStart
Would BEGIN {...} take care of this? _______________________________________________________________ John Drago | Chief Architect of Software Development E-com Media Group, Inc. [www.e-commedia.com] office :: 303.790.7940 x25 email :: [EMAIL PROTECTED] E - b u s i n e s s w i t h D i m e n s i o n TM | -----Original Message----- | From: Josh Chamas [mailto:[EMAIL PROTECTED] | Sent: Friday, March 05, 2004 2:43 PM | To: Peter Galbavy | Cc: Warren Young; Apache-ASP List | Subject: Re: Application_OnStart not getting called | | Peter Galbavy wrote: | > Josh Chamas wrote: | > | >>I have had requests to allow for the Application_OnStart to run when | >>the web server first starts up. This would be fairly had to do, but | >>it might be possible. The requests for this have been sporadic, and | >>it has never been one of my top priorities, should it be? | > | > | > Server_OnStart() ? | > | | | Here's the closest we have today: | | http://www.apache-asp.org/events.html#Server_OnSta0d174f59 | | Basically, any code executed in a global.asa outside of the subroutines | loaded in this way will get executed. I could formalize this to also | execute some code when the compilation occurs, and this event then | might be called: | | Global_OnStart | | The difference of course is to get this loaded into the Server startup | we still need to do the Apache::ASP->Loader(). The problem more generally | is how do we execute something in Apache::ASP when Apache::ASP has not | even been loaded yet. Is Loader() enough, or do we need something better? | | Regards, | | Josh | | ________________________________________________________________________ | Josh Chamas, Founder | NodeWorks - http://www.nodeworks.com | Chamas Enterprises Inc. | NodeWorks Directory - http://dir.nodeworks.com | http://www.chamas.com | Apache::ASP - http://www.apache-asp.org | | | | --------------------------------------------------------------------- | To unsubscribe, e-mail: [EMAIL PROTECTED] | For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]