"John D. Leonard II" wrote:
> 
> All:
> 
> I've got a really simple question ... What defines the boundaries of an "ASP
> Application?"
> 

The notion of application is mostly closely tied to where the global.asa 
resides. This is configured with the PerlSetVar Global config, and defaults 
to '.', the current directory of the executing script.

> 1) Does the application include the current directory (i.e., any directory
> containing a "global.asa") and all subdirectories?  Or does it include only
> the current directory?
> 

I can have scripts in lots of subdirectories, and if my PerlSetVar Global
config is the same for all of them, they are part of the same application.

> 2) What happens when a child directory contains a global.asa?  Does the
> subdirectory become it's own application?
> 

Only if Global is set to that directory, or is left unset, and defaults
to that local global.asa.

> 3) What happens when I request a page in a subdirectory (e.g.,
> http://www.myserver.com/parent/child1/default.asp) and the directory
> (child1) doesn't include a global.asa?  Does Apache::ASP look for a
> global.asa in the /parent?
> 

No.

Be careful also to pay attention to where StateDir is set.  This
can be set independent of Global, and controls where data for 
$Session and $Application is stored.  Thus, you could actually
share data across applications if StateDir were set to be the 
same for each.

--Josh

_________________________________________________________________
Joshua Chamas                           Chamas Enterprises Inc.
NodeWorks <- Web Link Checking          Huntington Beach, CA  USA 
http://www.nodeworks.com                1-714-625-4051

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to