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]