Wrox Programmer Forums
|
Classic ASP Components Discussions specific to components in ASP 3.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Components section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 27th, 2006, 09:03 AM
Authorized User
 
Join Date: Sep 2005
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default global.asa

I want to ask where to put global.asa file,in which folder

suppose my root folder for web server is C:/inetpub/wwwroot

I am having two applications say app1 and app2 with respective path as

C:/inetpub/wwwroot/app1
C:/inetpub/wwwroot/app2

So suppose i have created two different global.asa file for both the application, then where it should be placed ?

In which folder given below ?

C:/inetpub/wwwroot/app1
C:/inetpub/wwwroot/app2
C:/inetpub/wwwroot


Can I use more than one global.asa file for every application ?

Pls do reply back
thanks in advance
 
Old July 24th, 2006, 01:05 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 479
Thanks: 0
Thanked 3 Times in 3 Posts
Send a message via MSN to surendran Send a message via Yahoo to surendran
Default

Hi,
You can use only one global.asa per project,
Just delete the global.asa from C:/inetpub/wwwroot
And put two different global.asa
under this folders
C:/inetpub/wwwroot/app1
C:/inetpub/wwwroot/app2

surendran
(Anything is Possible)
 
Old July 24th, 2006, 01:13 AM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

;;;Can I use more than one global.asa file for every application ?
No

However as surendran said - you can use a global.asa file for each application. In my experience you should make 'app1' and 'app2' a virtual directory inside iis in addition to what he suggested

Wind is your friend
Matt





Similar Threads
Thread Thread Starter Forum Replies Last Post
Global.asa pushpa Classic ASP Basics 19 March 9th, 2007 08:30 AM
Global.asa gmoney060 Classic ASP Basics 3 September 25th, 2004 09:11 AM
GLOBAL.ASA zaeem Classic ASP Databases 3 November 4th, 2003 09:13 AM
Global.asa madsmad ASP.NET 1.0 and 1.1 Basics 1 August 17th, 2003 07:05 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.