Tutorials References Exercises Videos NEW Menu
Paid Courses Website NEW

ASP End Method


❮ Complete Response Object Reference

The End method stops processing a script, and returns the current result.

Note: This method will flush the buffer if Response.Buffer has been set to true. If you do not want to return any output to the user, you should call Response.Clear first.

Syntax

Response.End

Examples

<html>
<body>
<p>I am writing some text. This text will never be
<%
Response.End
%>
finished! It's too late to write more!</p>
</body>
</html>

Output:

I am writing some text. This text will never be

❮ Complete Response Object Reference