PDA

View Full Version : Global.asa Queries


Leeus
11-29-2002, 10:44 PM
I have never used this file before, where exactly does it need to be placed?? In the root of the site?

Mhtml
11-29-2002, 11:11 PM
The Global.asa file must be stored in the root directory of the ASP application, and each application can only have one Global.asa file.

Leeus
11-29-2002, 11:12 PM
So this would go in the server root, even if I had most of the ASP pages in a sub-directory.

Mhtml
11-30-2002, 12:30 AM
Just your site root or the root of the application which you are using.

eg, www.mysite.com/forum/
The application directory is /forum/

Therefore putting it in the forum root will make it accessible to the forum application whereas putting in the site root will make it accessible to everything.

Leeus
11-30-2002, 09:03 AM
Do I have to set the application root or not?

Mhtml
11-30-2002, 09:45 AM
No, but seeing as you are new to this I think that you should just place 1 global.asa file in your site root.