Library sample chapters
A Preview of Active Server Pages+
- Introduction
- Introducing ASP+
- The Evolution of ASP
- Microsoft ISAPI Technologies
- The Versions of ASP
- Windows 2000, COM+ and ASP 3.0
- The Next Generation Web Services
- What Is the NGWS Framework?
- Common Intermediate Language
- Web Application Infrastructure
- How is ASP+ different?
- Why Do We Need a New Version?
- Advantages with ASP+
- Server-side HTML Controls
- Maintaining State
- Page VIEWSTATE
- Server-side Event Processing
- ASP+ Application Framework
- Enhanced Performance
- Control Families
- Intrinsic Controls
- List Controls
- Rich Controls
- Validation Controls
- The Global Configuration File
- Using Application State
- Using Session State
- New Security Management Features
- Getting Started
- Final Release
- Summary
The Global Configuration File
In ASP+, all the configuration details for all Web applications are kept in human-readable files named config.web. The default config.web file is in the Program FilesComPlusv2000.14.1812 directory and this specifies the settings that apply to any applications or directories that do not over-ride the defaults. The standard format for the configuration files is XML, and each application inherits the settings in the default config.web file.
The config.web file specifies a whole range of settings for the application, including the HTTP Modules and Request Handlers that are to be used to handle each request. This provides a completely extensible and flexible architecture, allowing non-standard HTTP protocol handling to be carried out if required. We examine configuration files and their use in Chapter 6.
The Application Definition File – global.asax
As in ASP 2.0 and 3.0, it is also possible to use a definition file that specifies the actions to take when an application starts and ends, and when individual user sessions start and end. This file is named global.asax (note the .asax file extension), and is stored in the root directory for each application.
The existing ASP event handlers Application_OnStart, Application_OnEnd, Session_OnStart, and Session_OnEnd are supported in global.asax, as well as several new events such as Application_BeginRequest, Security_OnAuthenticate, and others. And, as before, the global.asax file can be used to set the values of global or session-level variables and instantiate objects. We look at the use of global.asax files in Chapter 6.
ASP+ Application and Session State
One of the useful features in previous versions of ASP that developers were quick to take advantage of was the provision of global and user-level scope for storing values and object instances. This uses the Application and Session objects in ASP, and these objects are still present in ASP+. Although backwards compatible, however, the new Application and Session objects offer a host of extra features.
Related articles
Related discussion
-
How can I execute server-side function using asp.net Ontextchanged orJavascript onchange?
by mamoru0916 (0 replies)
-
we search the company in India for program creation under the order
by anand.lv (1 replies)
-
handling special character in xslt's
by bussureddy82 (1 replies)
-
String was not recognized as a valid DateTime.
by buvanasubi (22 replies)
-
RadioButton inside Repeater with Javascript
by Aquila (1 replies)
Events coming up
-
Dec
3
An afternoon of SQL Server Data Services and ASP.NET Dynamic Data
Bradford, United Kingdom
This event is in association with Black Marble. In the morning Black Marble will be presenting on Microsoft "Oslo": The Future of Enterprise Applications. To find out more about this please follow the link on the right.
I'm not interested to think 4 these silly things. Keep going....
Reading all these articles on the web site is just a simple waisting of time!
This thread is for discussions of A Preview of Active Server Pages+.