473,386 Members | 1,748 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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 2756
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*********@alias.fr> wrote in message
news:Od*************@TK2MSFTNGP15.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_darkfalz.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*********@alias.fr> wrote in message
| news:Od*************@TK2MSFTNGP15.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*********@alias.fr> wrote in message
news:OE**************@tk2msftngp13.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_darkfalz.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*********@alias.fr> wrote in message
| news:Od*************@TK2MSFTNGP15.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_darkfalz.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*********@alias.fr> wrote in message
| news:OE**************@tk2msftngp13.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_darkfalz.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*********@alias.fr> wrote in message
| > | news:Od*************@TK2MSFTNGP15.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*********@alias.fr> wrote in message
news:ed**************@TK2MSFTNGP09.phx.gbl...
http://server/subfolder/site/
where "site" is an application IIS

"Curt_C [MVP]" <software_AT_darkfalz.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*********@alias.fr> wrote in message
| news:OE**************@tk2msftngp13.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_darkfalz.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*********@alias.fr> wrote in message
| > | news:Od*************@TK2MSFTNGP15.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*************@TK2MSFTNGP15.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*********@alias.fr> wrote in message
news:ed**************@TK2MSFTNGP09.phx.gbl...
http://server/subfolder/site/
where "site" is an application IIS

"Curt_C [MVP]" <software_AT_darkfalz.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*********@alias.fr> wrote in message
| news:OE**************@tk2msftngp13.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_darkfalz.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*********@alias.fr> wrote in message
| > | news:Od*************@TK2MSFTNGP15.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_darkfalz.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*************@TK2MSFTNGP15.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*********@alias.fr> wrote in message
| > news:ed**************@TK2MSFTNGP09.phx.gbl...
| >> http://server/subfolder/site/
| >> where "site" is an application IIS
| >>
| >>
| >>
| >> "Curt_C [MVP]" <software_AT_darkfalz.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*********@alias.fr> wrote in message
| >> | news:OE**************@tk2msftngp13.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_darkfalz.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*********@alias.fr> wrote in message
| >> | > | news:Od*************@TK2MSFTNGP15.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
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...
12
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. ...
2
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...
2
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...
4
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...
0
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,...
2
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: ...
1
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....
5
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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...
0
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,...

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.