Warren Young wrote:
More accurately, the new event would be for calculating something when
the web server first comes up.
Apache::ASP does not know what applications are installed when the
web server first comes up. That is what the Loader() routine is for.
Loader() combined with this new event
Josh Chamas wrote:
This is a good point, and was the basis for the original implementation,
that the application starts when the first visitor registers a session.
This was the definition of the original Application_OnStart event
in the ASP model.
That's reasonable.
If I understand things correct
eter Galbavy
| Cc: Warren Young; Apache-ASP List
| Subject: Re: Application_OnStart not getting called
|
| Peter Galbavy wrote:
| > Warren Young wrote:
| >
| >>If the current behavior is useful for others, then it might be nice
to
| >>have a new event that has the behavior I expe
Peter Galbavy wrote:
Warren Young wrote:
If the current behavior is useful for others, then it might be nice to
have a new event that has the behavior I expected. No rush, this is
mostly a syntax issue. (Reasoning below.) The top priority is simply
to document the actual behavior of Application
Warren Young wrote:
> If the current behavior is useful for others, then it might be nice to
> have a new event that has the behavior I expected. No rush, this is
> mostly a syntax issue. (Reasoning below.) The top priority is simply
> to document the actual behavior of Application_OnStart. The
Josh Chamas wrote:
Currently, Application_OnStart only runs when the first Session gets
initialized, and again after the last Session expires. Theoretically,
this could never happen if your application is always busy. A big
difference between Apache::ASP, and IIS/ASP is that sessions persist
by d
John Drago wrote:
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?
BEGIN should work, but I think Global_OnStart would be more like
putting some code at the botton of
: 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, b
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
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
Warren Young wrote:
What I've been trying to do is not dramatically different from that.
I've been trying to save a calculated value to $Application->{foo}, and
print it out later in some of the .asp files. Its failure to work is
what prompted my original post.
Currently, Application_OnStart o
John Drago wrote:
Make absolutely sure Apache::ASP is finding your global.asa to start
with.
All the other events I have in there are being called.
PerlSetVar Global "/path"
I had mine set to '.', with global.asa at the site's root. I tried
setting it to the site root's absolute path, but the
m]
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: Warren Young [mailto:[EMAIL PROTECTED]
| Sent: Thursday, March 04, 2004 1:32 AM
| To: Apache-ASP List
| Subject: Application_OnStart not getting
I have some code I'd like to run just once when Apache::ASP comes up the
first time; it computes a value that never changes over the life of the
application. For some reason, this event never seems to be called.
I dug into the Apache::ASP code a bit, and the only thing that struck me
is how de
14 matches
Mail list logo