ASP » Response » End

Syntax:
Response.End

The End method causes the web server to stop processing the script and to return the current results without processing the rest of the file.

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.

Examples

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

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