In order for IIS to know the difference between an application with its own
set of application and session variables and just an ordinary old
subdirectory, you must configure your applications as applications in IIS.
Then, the global.asa in the root of the application will work within that
application.

http://www.iisworks.com/faq/kb.asp?a=show&ID=164

Ray at home 

> -----Original Message-----
> From: [email protected] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Michael Etchison
> Sent: Monday, September 26, 2005 5:12 PM
> To: Active Server Pages list
> Subject: [ASP] "Projects/applications," global.asa, and WinXP
> 
> I'm writing some ASP code which uses Session and Application 
> variables.
> These are set up in the global.asa in the root of 
> http://localhost/sitename (i.e., in one of the folders -- 
> sitename -- in inetpub/wwwroot).  On my production machine, 
> set up with FP2k3 and WinXP SP2, sometimes Application 
> variables work and sometimes they don't, and the same for 
> Session; when I upload the global.asa to the root of the 
> actual Web site, both types work.
> This makes testing clumsier than it needs to be.  I have not 
> tried putting global.asa in wwwroot.
> 
> I have Googled for a couple of hours.  The closest I have 
> come to relevant advice is that I need to set up my IIS to 
> regard sitename as a "project" or "application."  None of the 
> descriptions of how to do that have closely resembled what I 
> find when I try the process.
> 
> Can someone talk me through what I need to do to get 
> global.asa functioning properly on particular localhost ASP sites?
> 
> Michael E. Etchison
> MLE Consulting
> 1423 Jackson Road
> Kerrville, TX 78028
> 830-792-3709
> 
> 
> 
> 
> 
> 
> ------------------------ Yahoo! Groups Sponsor 
> --------------------~--> Get Bzzzy! (real tools to help you 
> find a job). Welcome to the Sweet Life.
> http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/17folB/TM
> --------------------------------------------------------------
> ------~-> 
> 
> --------------------------------------------------------------
> -------    
>  Home       : http://groups.yahoo.com/group/active-server-pages
> ---------------------------------------------------------------------
>  Post       : [email protected]
>  Subscribe  : [EMAIL PROTECTED]
>  Unsubscribe: [EMAIL PROTECTED]
> ---------------------------------------------------------------------
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/17folB/TM
--------------------------------------------------------------------~-> 

---------------------------------------------------------------------    
 Home       : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
 Post       : [email protected]
 Subscribe  : [EMAIL PROTECTED]
 Unsubscribe: [EMAIL PROTECTED]
--------------------------------------------------------------------- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/active-server-pages/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to