System.Web.UI Namespace Page Class
Returns the Request object associated with the page.
Script |
[ HttpRequest variable = ] Page.Request |
variable |
Returns the Request object associated with the current page. |
The property is read only with no default value.
Exception Type |
Condition |
HttpException |
Thrown if the Request object is not available. |
The Request object is used to obtain information about the current HTTP request.
The following example demonstrates how to obtain the Headers collection from the current Request object.
Show me
Page Members HttpRequest Class