METHOD:  Response.End

Response.End

The End method orders the web server to stop processing the script. The current results are returned and no further processing occurs. If Response.Buffer is set to True, Response.End will flush the buffer and then end.

Note that in ASP version 2.0, the default for Response.Buffer is set to False, however in ASP version 3.0, the default for Response.Buffer is set to True.

In the example, the second Response.Write will not be displayed in the output.

Code:
<%
Response.Write "Hello World"
Response.End
Response.Write "Is this the End?"
%>


Output:
Hello World
Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information