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 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.