[EMAIL PROTECTED] wrote:
> 
> the global.asa that my global_test.html is using is what I had sent you ... the 
>application variable
> $Application->{test} (the last variable printed in the error log above) is 
>initialiazed in the Session_OnStart
> subroutine. The other application variables are from an older global.asa which I was 
>trying (this was copied
> from the eg/ directory). In that old global.asa also, these variables were 
>initialized in Session_OnStart
> subroutine (not Application_OnStart).
> Two things to note: 1-- When I changed the global.asa, it's still showing the 
>variables from the old
>                                  global.asa
>                             2-- Session_OnStart seems to be executing fine but not 
>Application_OnStart
> 

Ritu,

The Application_OnStart routine only gets run with the first Session_OnStart
of the application, or the first user to visit the site triggers the 
Application_OnStart... if you want to test your changes to Application_OnStart,
you will need to delete the contents of StateDir, and restart the web server.

One nice way to check Application_OnStart being run is to turn debugging
on, and write something in the event like $Response->Debug('app starting')

> Do you think upgrading to v0.17 will help?? Will it be enough just to copy the 
>ASP.pm code rather than
> re-building the whole module??
> 

With Apache::ASP, it is sufficient to just copy over ASP.pm and
stop/start the web server, but I would recommend in general running 
make test just to make sure things look good first.

-- Joshua
_________________________________________________________________
Joshua Chamas                           Chamas Enterprises Inc.
NodeWorks >> free web link monitoring   Huntington Beach, CA  USA 
http://www.nodeworks.com                1-714-625-4051

Reply via email to