Print Page | Close Window

global.asa

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=900
Printed Date: 30 March 2026 at 12:10am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: global.asa
Posted By: kobubu
Subject: global.asa
Date Posted: 10 March 2003 at 3:56pm

hello there!!

im confused! i have used the global file to create an application object.
but i cant use it only if in the same file i have the global file-means that i have to put it(the global file )in each file of the application
im lost ,i know that i have to put it in the root directory only once.
help please




Replies:
Posted By: sespark
Date Posted: 14 March 2003 at 2:50pm

Most likely your problem is that you are not using the right function.  Global.asa needs a sub called Sub Application_OnStart.  It must be written in VBS, but you can have it call JS functions.  Then whatever object you put into your application collection should be available to your other asp files.

If this is not the case, perhaps you should make sure your server is running WinSomething with IIS for the server.  I do not think ChilliASP uses Global.asa, but I would not know since I never touch the stuff myself.




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net