HttpApplication

The HttpApplicaton (Application) object allows the sharing of data across all sessions of an ASP.NET application. The ASP.NET Application object adds almost 30 new properties, methods, and events. Compare that to ASP 3.0, where the only events were Application_ OnStart and Application_OnEnd, the only methods were Lock() and UnLock(), and the only properties were Contents and StaticObjects. Tables C.6 through C.8 show the new properties, methods, and events.

Table C.6. New HttpApplication Properties
Property Description
Application Returns an instance to an HttpApplication state bag instance
Context Returns a reference to the HttpRuntime context
Modules Returns a collection of all the HttpModules for the current application
Request ...

Get Building e-Commerce Sites with the .NET Framework 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.