SunQuest
 
       ASP
  Home arrow ASP arrow Introduction To The GLOBAL.ASA For ASP Pro...
Click Here
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Dedicated Servers 
Actuate Whitepapers 
VeriSign Whitepapers 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
ASP

Introduction To The GLOBAL.ASA For ASP Programmers
By: Rich Smith
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 51
    2003-07-16

    Table of Contents:
  • Introduction To The GLOBAL.ASA For ASP Programmers
  • Inside the GLOBAL.ASA File
  • Application and Session Objects
  • Type libraries for COM

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT

    Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!

    Introduction To The GLOBAL.ASA For ASP Programmers


    (Page 1 of 4 )

    I spent quite a bit of time as an ASP programmer before I learned about the GLOBAL.ASA file. Like many others, I learned ASP the old fashioned way. Already familiar with Visual Basic, the leap to VBScript was not difficult. Then I took a look at some sample ASP code, starting doodling with it, and next thing you know, I'm an ASP programmer.

    In my time writing ASP, I’ve designed and delivered some pretty complex systems for both intranet and Internet usage. There were some challenges that I ended up solving quite creatively, but could have been much easier to code had I been “in the know” about the GLOBAL.ASA file.

    So, to help those of you just learning ASP, or even those who learned it the same way I originally did, I’ve put together this introduction as a tool to illustrate what the GLOBAL.ASA can do for you.

    That being said, lets get down to what the GLOBAL.ASA file really is; an optional file that can contain declarations of objects, variables, and methods that can be accessed by any ASP page in an application. This file is stored in the root folder of your ASP application and must be named GLOBAL.ASA.

    Now, I’m not going to be teaching any ASP in this article. The basic assumption is that you are familiar with ASP, and wish to learn more about using the GLOBAL.ASP file. There are many tutorials available freely on the Internet that will introduce you to ASP programming. Also, my examples will be supplied in VBScript, but any valid ASP scripting language may be used instead (JavaScript, Perl, etc).

    More ASP Articles
    More By Rich Smith


     

    ASP ARTICLES

    - ADO for the Beginner
    - ADO.NET 101: Data Rendering with a DataGrid ...
    - Introducing SoftArtisans OfficeWriter 3.0 En...
    - Getting Remote Files With ASP
    - The Real Basics of Functions in ASP
    - Enhancing Readability with ASP
    - Mimicking PHP's String Formatting Functions
    - Windows Server Hacks 12, 77, and 98
    - How to Sort a Multi-Dimensional Array
    - Developing an Information Management Tool wi...
    - What are Active Server Pages?
    - Getting Remote Pages with ASP
    - FTP’ing Files with ASP
    - Apply Single-Sign-On to Your Application
    - Easy Error Management





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway