Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
Previous Versions
.NET Framework 2.0
System.Web
Collapse All/Expand All Collapse All
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
.NET Framework Class Library
HttpApplicationState Class

Enables sharing of global information across multiple sessions and requests within an ASP.NET application.

Namespace: System.Web
Assembly: System.Web (in system.web.dll)

Visual Basic (Declaration)
Public NotInheritable Class HttpApplicationState
    Inherits NameObjectCollectionBase
Visual Basic (Usage)
Dim instance As HttpApplicationState
C#
public sealed class HttpApplicationState : NameObjectCollectionBase
C++
public ref class HttpApplicationState sealed : public NameObjectCollectionBase
J#
public final class HttpApplicationState extends NameObjectCollectionBase
JScript
public final class HttpApplicationState extends NameObjectCollectionBase

An ASP.NET application is the sum of all files, pages, handlers, modules, and code within the scope of a virtual directory and its subdirectories on a single Web server.

A single instance of an HttpApplicationState class is created the first time a client requests any URL resource from within a particular ASP.NET application virtual directory. A separate single instance is created for each ASP.NET application on a Web server. A reference to each instance is then exposed via the intrinsic Application object.

Application state is not shared across either a Web farm (in which an application is hosted across multiple servers) or a Web garden (in which an application is hosted across multiple processes on the same computer).

TopicLocation
How to: Read Values from Application StateBuilding ASP .NET Web Applications
How to: Read Values from Application StateBuilding ASP .NET Web Applications
How to: Read Values from Application StateBuilding ASP .NET Web Applications in Visual Studio
How to: Read Values from Application StateBuilding ASP .NET Web Applications in Visual Studio
How to: Save Values in Application StateBuilding ASP .NET Web Applications
How to: Save Values in Application StateBuilding ASP .NET Web Applications
How to: Save Values in Application StateBuilding ASP .NET Web Applications in Visual Studio
How to: Save Values in Application StateBuilding ASP .NET Web Applications in Visual Studio
System.Object
   System.Collections.Specialized.NameObjectCollectionBase
    System.Web.HttpApplicationState

This type is safe for multithreaded operations.

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker