HttpServerUtility.Transfer Method
.NET Framework 4
Terminates execution of the current page and starts execution of a new page for the current request.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
Transfer(String) | For the current request, terminates execution of the current page and starts execution of a new page by using the specified URL path of the page. |
|
Transfer(IHttpHandler, Boolean) | Terminates execution of the current page and starts execution of a new request by using a custom HTTP handler that implements the IHttpHandler interface and specifies whether to clear the QueryString and Form collections. |
|
Transfer(String, Boolean) | Terminates execution of the current page and starts execution of a new page by using the specified URL path of the page. Specifies whether to clear the QueryString and Form collections. |
HttpResponse.End
Under the covers, this method appears to call HttpResponse.End, who's documentation appears to warn against using it, and recommends using
$0 CompleteRequest() instead: http://msdn.microsoft.com/en-us/library/system.web.httpresponse.end.aspx
$0$0
$0
$0Is this call dangerous/deprecated, or is the documentation for Response.End overstating the negative performance impact?$0
- 3/11/2011
- Tom Lianza