ASP Clear Method
Definition and Usage
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 set to false, this method will cause a run-time error.
Syntax
response.Clear
Example
<% response.Buffer=true %> <html> <body> <p>This is some text I want to send to the user.</p> <p>No, I changed my mind. I want to clear the text.</p> <% response.Clear %> </body> </html>
Output:
(nothing)