ASP Clear Method
Complete Response object reference manual
The Clear method clears any buffered HTML output.
**Note:** This method cannot clear the response headers; it can only clear the response body.
**Note:** If response.Buffer is false, this method will cause a run-time error.
Syntax
response.Clear
Example
<%
response.Buffer=true
%>
This is some text I want to send to the user.
No, I changed my mind. I want to clear the text.
<%
response.Clear
%>
Output:
(nothing)
Complete Response object reference manual