eWebProgrammer eweb





ASP   «Prev  Next»
Lesson 10The ASP object model
ObjectiveUse ASP's objects to simplify writing ASP operations.

ASP Object Model

The interaction between Web clients and servers is complex, with many messages passed between the two.
However, most of the time we only need to work with one part of this complex interaction, for example a cookie sent by a user's browser to our Web server.
One of the goals of ASP, and object-oriented programming in general, is to hide unneeded complexity from the developer.
The designers of ASP have built a model of this complex interaction in the ASP object model. As we work with ASP, we will do so through the five "built-in" objects of ASP:
  1. Application,
  2. Request,
  3. Response,
  4. Server, and
  5. Session.

ASP.NET Web ProgrammingASP.NET Web Programming


This SlideShow will describe the five objects of the ASP object model that represent the categories of operations during a browser-server dialog:
Five ASP Objects
Active Server Pages 3.0Active Server Pages 3.0
Each of the five objects is an object in the object-oriented programming sense and can have its own properties and methods.
In later modules, we will cover each of the objects in detail.
Compare scripting alternatives for embedding programs in HTML.