Latest web development tutorials

ASP End Method

Response Object Reference Complete Response Object Reference

End method stops script processing and returns the current result.

NOTE: If Response.Buffer is set to true, this method will output the contents of the cache.If you do not want to return to any user any output, it should first call Response.Clear.

grammar

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>

输出:

I am writing some text. This text will never be


Response Object Reference Complete Response Object Reference