O'Reilly logo

Special Edition Using® Microsoft® ASP.NET by Richard Leinecker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The Application Object

The Application object canstore information for use by ASP.NET code, process requests, and respond to events. Table 4.1 gives the partial interface of the Application object.

Table 4.1. The Application Object
Collection Description
Contents Contains all the items added to the application through script commands.
staticobjects Contains all the objects added to the application with the <OBJECT> tag.
Methods Description
Lock Prevents other clients from modifying application properties.
Unlock Enables other clients to modify application properties.
Events Description
OnStart Occurs when a page in the application is first referenced.
OnEnd Occurs when the application quits, after the Session_OnEnd event.

Note that an ASP.NET ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required