The Global.ASAX File
page 1 of 4
Published: 02 May 2004
Unedited - Community Contributed
Abstract
ASP.NET has a match for the Classic ASP Global.asa - Global.ASAX. This article will go over the advancements and usage of global.ASAX
by . .
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 68201/ 61

Introduction
Introduction

ASP.NET has a match for the Classic ASP global.asa file and that is (following with .aspx tradition - Global.asax. If you remember what global.asa does, you pretty much have sorted what global.asax does. This article will go over that as well as explain some of the new and extended features that it comes with.

Overview of Global.asax

Global.asax is a file that resides in the root directory of your application. It is inaccessible over the web but is used by the ASP.NET application if it is there. It is a collection of event handlers that you can use to change and set settings in your site. The events can come from one of two places - The HTTPApplication object and any HTTPModule object that is specified in web.confg or machine.config. We will be covering both here.

In Global.asax there are a lot more events to work with (and you can create your own) than there are in global.asa which gives you a lot more customization when it comes to your application.


View Entire Article

User Comments

No comments posted yet.

Product Spotlight
Product Spotlight 





Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2017 ASPAlliance.com  |  Page Processed at 2017-10-23 7:35:29 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search