HttpContext

The core of the ASP.NET object model starts with the HttpContext object. This object encapsulates all the information related to an HTTP request and is used by the Web server to process requests. HttpContext also provides access to all other high-level objects commonly used to implement ASP.NET applications. Table C.1 shows some of the more important properties and methods available from the HttpContext object.

Table C.1. HttpContext Properties and Methods
Name Description
 Properties
Application Returns HttpApplicationState object reference
Cache Returns a reference to the Cache object
Error Returns a reference to an Exception object if an error was thrown during the processing of the last request
Items Returns a reference to a key-value ...

Get Building e-Commerce Sites with the .NET Framework now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.