Page.Response Property
.NET Framework (current version)
Gets the HttpResponse object associated with the Page object. This object allows you to send HTTP response data to a client and contains information about that response.
Assembly: System.Web (in System.Web.dll)
| Exception | Condition |
|---|---|
| HttpException | The HttpResponse object is not available. |
The following code example demonstrates creating a cookie and adding it to the page's HTTP output by using the HttpResponse object.
.NET Framework
Available since 1.1
Available since 1.1
Show: