HttpResponse.End Method
.NET Framework 3.0
Sends all currently buffered output to the client, stops execution of the page, and raises the EndRequest event.
Namespace: System.Web
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
The following code example uses the IsClientConnected property to check whether the client requesting the page remains connected to the server. If IsClientConnected is true, the code calls the Redirect method, and the client will view another page. If IsClientConnected is false, the code calls the End method and all page processing is terminated.
Community Additions
ADD
Show: