Page.Request Property


Gets the HttpRequest object for the requested page.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

member Request : HttpRequest with get

Property Value

Type: System.Web.HttpRequest

The current HttpRequest associated with the page.

Exception Condition

Occurs when the HttpRequest object is not available.

The HttpRequest object contains information about the current HTTP request.

The following example demonstrates how to obtain the Headers collection from the HttpRequest object and write it to an ASP.NET page.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top