[EMAIL PROTECTED] wrote:
> 
> Joshua,
> 
> I am using version 0.15 of Apache::ASP. In any case, if global.asa is not changed 
>after the server re-starts,
> this issue should not show up, right?
> 

An apache graceful restart will not reload an unchanged 
global.asa if you precompiled the ASP application with 
Apache::ASP->Loader(), since global.asa was precompiled at 
apache start time.

With the latest version of Apache::ASP, the global.asa
should be reloaded whenever it changes, regardless.

> I have another confusion that you may be able to help with: I have 3 different 
>sub-directories under the
> DocumentRoot. I treat each of the 3 sub-directories as mutually exclusive web 
>applications. Is it ok for each
> of these sub-directories to have it's own global.asa?? I guess I am not clear on how 
>an application is
> defined.

An ASP application is defined first by its Global config,
which points to a global.asa, and then its StateDir, which
holds the data for $Session and such. See: 

  http://www.nodeworks.com/asp/config.html#Global

If you want to share includes between applications, 
use IncludesDir:

  http://www.nodeworks.com/asp/config.html#IncludesDir
  
> [Fri Dec 10 00:25:54 1999] [error] [asp] [4984] [debug] compiling global.asa 
>Apache::ASP::Demo
> [Fri Dec 10 00:25:54 1999] [error] [asp] [4984] [debug] global.asa routines - 
>Application_OnStart: 1;
> Session_OnEnd: 1; Session_OnStart: 1;

This line tells me which events were compiled from your global.asa,
so I'd think that $Application->{'instance'} would be defined...
have you tried, but then I see:

> [Fri Dec 10 00:25:54 1999] [error] [asp] [4984] [debug] created $Application -
> Session218f675b0e2f63d12b3e2ee7fbb12461: 944678001; 
>Session2b14c0280adf29463ddbcab2cfff2f41:
> 39646; Sessionbd07e861955c12537c15899759ef99b7: 39272;
> Sessiond0d2ad8e71bc0f6ad3b32e1265bc0ad8: 39233; 
>Sessionf072cb77cac6ebb97a6f49e5cd61cc30: ?;
> Sessionfbb22bd2b4b0f93328ad413f07c5c121: ?; Sessionfe02a577364bd5d6d58d7ce0c4ed40da: 
>?; test:
> ritu-application;

which leads me to think that this file /web/htdocs/ritu/global_test.html
has a different global.asa than what you sent earlier.  

> /web/htdocs/ritu/global_test.html; filter: 0; global: /web/htdocs/ritu/.; 
>global_package:

The global.asa that your application is using is in /web/htdocs/ritu/.
Make sure that that is the one you want.

-- 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