
486
|
Chapter 23: The System.Web Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Returned By
HttpContext.ApplicationInstance
Passed To
HttpContext.ApplicationInstance, IHttpModule.Init( ), System.Web.Security.DefaultAuthenti-
cationModule.Init( ), System.Web.Security.FileAuthorizationModule.Init( ), System.Web.
Security.FormsAuthenticationModule.Init( ), System.Web.Security.PassportAuthentication-
Module.Init( ), System.Web.Security.UrlAuthorizationModule.Init( ), System.Web.Security.
WindowsAuthenticationModule.Init( ), System.Web.SessionState.SessionStateModule.Init( )
HttpApplicationState
System.Web (system.web.dll)
sealed class
This class provides server-side state management that is available globally across all
client sessions in an ASP.NET application. Application state is not shared across
multiple ASP.NET applications, or across multiple processes or multiple computers in
a single application. (In other words, proxy load balancing in a web farm can thwart
this type of state management.) If you need to store state across multiple web servers,
you may want to use session state instead (see the System.Web.SessionState.HttpSessionState
class for more information).
The HttpApplicationState class exposes a name/value collection of items that can store
simple value types or instances of .NET objects. A single instance of the ...