473,671 Members | 2,588 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

global.asa in subdirectory

hi,

i have a site wich is in a subdirectory of the webSite.
I have to use a global.asa file to set session.timeOut
even i create an IIS application on the subDirectory global.asa don't run
?!?
if i create a virtual directory instead of IIS application,
the global.asa run fine.

How can i do to run global.asa on a subDirectory ?
Jul 22 '05 #1
7 2779
you dont... it has to be an app, which means either a Virtual Dir or a
Site... not a sub folder

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"SOW Olivier" <so*********@al ias.fr> wrote in message
news:Od******** *****@TK2MSFTNG P15.phx.gbl...
hi,

i have a site wich is in a subdirectory of the webSite.
I have to use a global.asa file to set session.timeOut
even i create an IIS application on the subDirectory global.asa don't run
?!?
if i create a virtual directory instead of IIS application,
the global.asa run fine.

How can i do to run global.asa on a subDirectory ?

Jul 22 '05 #2
is what i did.
i create a IIS app, but the global.asa don't run !
don't understand what's wrong ?!?

wwwroot
-aSubFolder
--myWebSite (which is a IIS app)
---global.asa (which don't run)

if i do the follow that works fine:
wwwroot
-aSubFolder
--myWebSite
--myWebSiteVir (Virtual dir of myWebSite)
---global.asa (this time, it runs)

"Curt_C [MVP]" <software_AT_da rkfalz.com> a écrit dans le message de news:
us************* *@TK2MSFTNGP10. phx.gbl...
| you dont... it has to be an app, which means either a Virtual Dir or a
| Site... not a sub folder
|
| --
| Curt Christianson
| Site & Scripts: http://www.Darkfalz.com
| Blog: http://blog.Darkfalz.com
|
|
| "SOW Olivier" <so*********@al ias.fr> wrote in message
| news:Od******** *****@TK2MSFTNG P15.phx.gbl...
| > hi,
| >
| > i have a site wich is in a subdirectory of the webSite.
| > I have to use a global.asa file to set session.timeOut
| > even i create an IIS application on the subDirectory global.asa don't
run
| > ?!?
| > if i create a virtual directory instead of IIS application,
| > the global.asa run fine.
| >
| > How can i do to run global.asa on a subDirectory ?
| >
| >
|
|
Jul 22 '05 #3
how are you accessing the site?
//server/subfolder/site
or
//server/site
--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"SOW Olivier" <so*********@al ias.fr> wrote in message
news:OE******** ******@tk2msftn gp13.phx.gbl...
is what i did.
i create a IIS app, but the global.asa don't run !
don't understand what's wrong ?!?

wwwroot
-aSubFolder
--myWebSite (which is a IIS app)
---global.asa (which don't run)

if i do the follow that works fine:
wwwroot
-aSubFolder
--myWebSite
--myWebSiteVir (Virtual dir of myWebSite)
---global.asa (this time, it runs)

"Curt_C [MVP]" <software_AT_da rkfalz.com> a écrit dans le message de news:
us************* *@TK2MSFTNGP10. phx.gbl...
| you dont... it has to be an app, which means either a Virtual Dir or a
| Site... not a sub folder
|
| --
| Curt Christianson
| Site & Scripts: http://www.Darkfalz.com
| Blog: http://blog.Darkfalz.com
|
|
| "SOW Olivier" <so*********@al ias.fr> wrote in message
| news:Od******** *****@TK2MSFTNG P15.phx.gbl...
| > hi,
| >
| > i have a site wich is in a subdirectory of the webSite.
| > I have to use a global.asa file to set session.timeOut
| > even i create an IIS application on the subDirectory global.asa don't
run
| > ?!?
| > if i create a virtual directory instead of IIS application,
| > the global.asa run fine.
| >
| > How can i do to run global.asa on a subDirectory ?
| >
| >
|
|

Jul 22 '05 #4
http://server/subfolder/site/
where "site" is an application IIS

"Curt_C [MVP]" <software_AT_da rkfalz.com> a écrit dans le message de news:
uy************* *@TK2MSFTNGP09. phx.gbl...
| how are you accessing the site?
| //server/subfolder/site
| or
| //server/site
|
|
| --
| Curt Christianson
| Site & Scripts: http://www.Darkfalz.com
| Blog: http://blog.Darkfalz.com
|
|
| "SOW Olivier" <so*********@al ias.fr> wrote in message
| news:OE******** ******@tk2msftn gp13.phx.gbl...
| > is what i did.
| > i create a IIS app, but the global.asa don't run !
| > don't understand what's wrong ?!?
| >
| > wwwroot
| > -aSubFolder
| > --myWebSite (which is a IIS app)
| > ---global.asa (which don't run)
| >
| > if i do the follow that works fine:
| > wwwroot
| > -aSubFolder
| > --myWebSite
| > --myWebSiteVir (Virtual dir of myWebSite)
| > ---global.asa (this time, it runs)
| >
| > "Curt_C [MVP]" <software_AT_da rkfalz.com> a écrit dans le message de
news:
| > us************* *@TK2MSFTNGP10. phx.gbl...
| > | you dont... it has to be an app, which means either a Virtual Dir or a
| > | Site... not a sub folder
| > |
| > | --
| > | Curt Christianson
| > | Site & Scripts: http://www.Darkfalz.com
| > | Blog: http://blog.Darkfalz.com
| > |
| > |
| > | "SOW Olivier" <so*********@al ias.fr> wrote in message
| > | news:Od******** *****@TK2MSFTNG P15.phx.gbl...
| > | > hi,
| > | >
| > | > i have a site wich is in a subdirectory of the webSite.
| > | > I have to use a global.asa file to set session.timeOut
| > | > even i create an IIS application on the subDirectory global.asa
don't
| > run
| > | > ?!?
| > | > if i create a virtual directory instead of IIS application,
| > | > the global.asa run fine.
| > | >
| > | > How can i do to run global.asa on a subDirectory ?
| > | >
| > | >
| > |
| > |
| >
| >
|
|
Jul 22 '05 #5
Is myWebSite the root of a site or in a folder beneath a site? Your URL
http://server/subfolder/site/ indicates that it is in a subfolder of a site
but you are calling it a "site". Is it accessible by http://server/site?

--
--Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com

"SOW Olivier" <so*********@al ias.fr> wrote in message
news:ed******** ******@TK2MSFTN GP09.phx.gbl...
http://server/subfolder/site/
where "site" is an application IIS

"Curt_C [MVP]" <software_AT_da rkfalz.com> a écrit dans le message de news:
uy************* *@TK2MSFTNGP09. phx.gbl...
| how are you accessing the site?
| //server/subfolder/site
| or
| //server/site
|
|
| --
| Curt Christianson
| Site & Scripts: http://www.Darkfalz.com
| Blog: http://blog.Darkfalz.com
|
|
| "SOW Olivier" <so*********@al ias.fr> wrote in message
| news:OE******** ******@tk2msftn gp13.phx.gbl...
| > is what i did.
| > i create a IIS app, but the global.asa don't run !
| > don't understand what's wrong ?!?
| >
| > wwwroot
| > -aSubFolder
| > --myWebSite (which is a IIS app)
| > ---global.asa (which don't run)
| >
| > if i do the follow that works fine:
| > wwwroot
| > -aSubFolder
| > --myWebSite
| > --myWebSiteVir (Virtual dir of myWebSite)
| > ---global.asa (this time, it runs)
| >
| > "Curt_C [MVP]" <software_AT_da rkfalz.com> a écrit dans le message de
news:
| > us************* *@TK2MSFTNGP10. phx.gbl...
| > | you dont... it has to be an app, which means either a Virtual Dir or
a
| > | Site... not a sub folder
| > |
| > | --
| > | Curt Christianson
| > | Site & Scripts: http://www.Darkfalz.com
| > | Blog: http://blog.Darkfalz.com
| > |
| > |
| > | "SOW Olivier" <so*********@al ias.fr> wrote in message
| > | news:Od******** *****@TK2MSFTNG P15.phx.gbl...
| > | > hi,
| > | >
| > | > i have a site wich is in a subdirectory of the webSite.
| > | > I have to use a global.asa file to set session.timeOut
| > | > even i create an IIS application on the subDirectory global.asa
don't
| > run
| > | > ?!?
| > | > if i create a virtual directory instead of IIS application,
| > | > the global.asa run fine.
| > | >
| > | > How can i do to run global.asa on a subDirectory ?
| > | >
| > | >
| > |
| > |
| >
| >
|
|

Jul 22 '05 #6
basically what I was trying to get at.
He's declared it a VD & App, but he(she?) is calling it as a subfolder.

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Mark Schupp" <no******@email .net> wrote in message
news:ea******** *****@TK2MSFTNG P15.phx.gbl...
Is myWebSite the root of a site or in a folder beneath a site? Your URL
http://server/subfolder/site/ indicates that it is in a subfolder of a
site but you are calling it a "site". Is it accessible by
http://server/site?

--
--Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com

"SOW Olivier" <so*********@al ias.fr> wrote in message
news:ed******** ******@TK2MSFTN GP09.phx.gbl...
http://server/subfolder/site/
where "site" is an application IIS

"Curt_C [MVP]" <software_AT_da rkfalz.com> a écrit dans le message de
news:
uy************* *@TK2MSFTNGP09. phx.gbl...
| how are you accessing the site?
| //server/subfolder/site
| or
| //server/site
|
|
| --
| Curt Christianson
| Site & Scripts: http://www.Darkfalz.com
| Blog: http://blog.Darkfalz.com
|
|
| "SOW Olivier" <so*********@al ias.fr> wrote in message
| news:OE******** ******@tk2msftn gp13.phx.gbl...
| > is what i did.
| > i create a IIS app, but the global.asa don't run !
| > don't understand what's wrong ?!?
| >
| > wwwroot
| > -aSubFolder
| > --myWebSite (which is a IIS app)
| > ---global.asa (which don't run)
| >
| > if i do the follow that works fine:
| > wwwroot
| > -aSubFolder
| > --myWebSite
| > --myWebSiteVir (Virtual dir of myWebSite)
| > ---global.asa (this time, it runs)
| >
| > "Curt_C [MVP]" <software_AT_da rkfalz.com> a écrit dans le message de
news:
| > us************* *@TK2MSFTNGP10. phx.gbl...
| > | you dont... it has to be an app, which means either a Virtual Dir
or a
| > | Site... not a sub folder
| > |
| > | --
| > | Curt Christianson
| > | Site & Scripts: http://www.Darkfalz.com
| > | Blog: http://blog.Darkfalz.com
| > |
| > |
| > | "SOW Olivier" <so*********@al ias.fr> wrote in message
| > | news:Od******** *****@TK2MSFTNG P15.phx.gbl...
| > | > hi,
| > | >
| > | > i have a site wich is in a subdirectory of the webSite.
| > | > I have to use a global.asa file to set session.timeOut
| > | > even i create an IIS application on the subDirectory global.asa
don't
| > run
| > | > ?!?
| > | > if i create a virtual directory instead of IIS application,
| > | > the global.asa run fine.
| > | >
| > | > How can i do to run global.asa on a subDirectory ?
| > | >
| > | >
| > |
| > |
| >
| >
|
|


Jul 22 '05 #7
SOW is my family name and olivier my first name, i'm boy ! :D
my URL is :
http://localhost/subdir/myWebSite/

where myWebSite is declared as an app in IIS and global.asa is present
within

"Curt_C [MVP]" <software_AT_da rkfalz.com> a écrit dans le message de news:
eY************* *@TK2MSFTNGP09. phx.gbl...
| basically what I was trying to get at.
| He's declared it a VD & App, but he(she?) is calling it as a subfolder.
|
| --
| Curt Christianson
| Site & Scripts: http://www.Darkfalz.com
| Blog: http://blog.Darkfalz.com
|
|
| "Mark Schupp" <no******@email .net> wrote in message
| news:ea******** *****@TK2MSFTNG P15.phx.gbl...
| > Is myWebSite the root of a site or in a folder beneath a site? Your URL
| > http://server/subfolder/site/ indicates that it is in a subfolder of a
| > site but you are calling it a "site". Is it accessible by
| > http://server/site?
| >
| > --
| > --Mark Schupp
| > Head of Development
| > Integrity eLearning
| > www.ielearning.com
| >
| > "SOW Olivier" <so*********@al ias.fr> wrote in message
| > news:ed******** ******@TK2MSFTN GP09.phx.gbl...
| >> http://server/subfolder/site/
| >> where "site" is an application IIS
| >>
| >>
| >>
| >> "Curt_C [MVP]" <software_AT_da rkfalz.com> a écrit dans le message de
| >> news:
| >> uy************* *@TK2MSFTNGP09. phx.gbl...
| >> | how are you accessing the site?
| >> | //server/subfolder/site
| >> | or
| >> | //server/site
| >> |
| >> |
| >> | --
| >> | Curt Christianson
| >> | Site & Scripts: http://www.Darkfalz.com
| >> | Blog: http://blog.Darkfalz.com
| >> |
| >> |
| >> | "SOW Olivier" <so*********@al ias.fr> wrote in message
| >> | news:OE******** ******@tk2msftn gp13.phx.gbl...
| >> | > is what i did.
| >> | > i create a IIS app, but the global.asa don't run !
| >> | > don't understand what's wrong ?!?
| >> | >
| >> | > wwwroot
| >> | > -aSubFolder
| >> | > --myWebSite (which is a IIS app)
| >> | > ---global.asa (which don't run)
| >> | >
| >> | > if i do the follow that works fine:
| >> | > wwwroot
| >> | > -aSubFolder
| >> | > --myWebSite
| >> | > --myWebSiteVir (Virtual dir of myWebSite)
| >> | > ---global.asa (this time, it runs)
| >> | >
| >> | > "Curt_C [MVP]" <software_AT_da rkfalz.com> a écrit dans le message
de
| >> news:
| >> | > us************* *@TK2MSFTNGP10. phx.gbl...
| >> | > | you dont... it has to be an app, which means either a Virtual Dir
| >> or a
| >> | > | Site... not a sub folder
| >> | > |
| >> | > | --
| >> | > | Curt Christianson
| >> | > | Site & Scripts: http://www.Darkfalz.com
| >> | > | Blog: http://blog.Darkfalz.com
| >> | > |
| >> | > |
| >> | > | "SOW Olivier" <so*********@al ias.fr> wrote in message
| >> | > | news:Od******** *****@TK2MSFTNG P15.phx.gbl...
| >> | > | > hi,
| >> | > | >
| >> | > | > i have a site wich is in a subdirectory of the webSite.
| >> | > | > I have to use a global.asa file to set session.timeOut
| >> | > | > even i create an IIS application on the subDirectory global.asa
| >> don't
| >> | > run
| >> | > | > ?!?
| >> | > | > if i create a virtual directory instead of IIS application,
| >> | > | > the global.asa run fine.
| >> | > | >
| >> | > | > How can i do to run global.asa on a subDirectory ?
| >> | > | >
| >> | > | >
| >> | > |
| >> | > |
| >> | >
| >> | >
| >> |
| >> |
| >>
| >>
| >
| >
|
|
Jul 22 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
1898
by: Bill | last post by:
Will IIS6.0 recognize a global.asa file located in a subdirectory on the webserver? I'd like a file that will execute whenever a file in the subdirectory is browsed - or, at least it is executed the first time a file in the subdirectory is browsed. Thanks!
12
10671
by: qaz | last post by:
For some reason my global.asa file is not firing. I have it located in the root of my website (e.g., wwwroot\mywebsite\global.asa) and I have the web site configured as an "application" in IIS. When I modified the file I also stopped and restarted the web server. Can anyone give me some ideas as to why it is not firing? Thanks
2
9156
by: Patient Guy | last post by:
I have a library of functions representing a filesystem interface (essentially a file selection interface, to be used in opening/reading/writing/closing files). Heavily scripted HTML document #1, very application-like, must include the JS file for this library of functions. One reason is that it must call a function to name a "callback" function, and within its own script block, must define the callback function. The callback handles...
2
1131
by: dan | last post by:
my understanding is that whenever a global.asax page is placed in a directory ALL files in that directory and files in subdirectories will be affected, unless another global.asax page exists in a subdirectory. Also, may I have multiple global.asax pages in my domain?
4
2992
by: Marc E | last post by:
All, I'm coming from java and coldfusion, where one can set a "global" variable in one place (the servletcontext in java, Application.cfm in coldfusion) and all files in that site can then take advantage of these variables without the need to "include" a variables page in every page on the site. Is there something comparable in php, like an Application.php or some such thing? One more question that's basically an extension of the first....
0
1541
by: =?Utf-8?B?Qm9ubmll?= | last post by:
I have a basic ASP / Index Server search page. I have a web site contained in a subdirectory in the root of a main web site. What I’m trying to do is force the search page in the subdirectory, conduct its search ONLY in the subdirectory, and NOT display results from the parent/root. (Note: there is also a similar search page for the main site, in the root, which I am having no problem excluding the subdirectory from its search results.) ...
2
24533
by: jobs | last post by:
my asp.net code compiles file and renders the default.aspx page just fine from F5 in vs.net 2005. (you know with a port) However, If attempt to call the page from browser I get the error: Theme 'Theme1' cannot be found in the application or global theme directories. i have this in my web config:
1
1635
by: archana | last post by:
Hi all, I have just using dot net studio 2005. I am careating one theme. Here global themse are getting stored at 2 location. \Microsoft.NET\Framework\<version>\ASP.NETClientFiles\Themes. Inetpub\wwwroot\aspnet_client\system_web\<version>\Themes for IIS web
5
4508
by: =?Utf-8?B?bWNxd2VydHk=?= | last post by:
Hello, I'm trying to enable an error handling package at the root of my web server by editing this file: C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\CONFIG\web.config In the httpHandlers section I've added: <add verb="POST,GET,HEAD" path="elmah.axd" type="Elmah.ErrorLogPageFactory, Elmah, Version=1.0.9414.0, Culture=neutral, PublicKeyToken=42734318a98ac1df"
0
8485
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8403
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8930
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8828
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8605
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7446
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6238
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
2819
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2062
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.