The HttpApplicationState Class (Application Intrinsic Object)
An instance of the HttpApplicationState class is created for each ASP.NET web application or site on the web server. This instance is then exposed via the Application property on the Context object, which is provided to all HttpModules of a web application or site during a web request. See Table B.6 for a description of the class properties. Table B.7 describes the HttpApplicationState class methods.
Property | Description |
---|---|
AllKeys | Provides access to the keys in the HttpApplicationState collection. |
Contents | Provides a reference to the HttpApplicationState object. |
Count | Overridden—Gets the number of objects in the HttpApplicationState |
Get Inside ASP.NET now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.