Open In App

ASP Clear Method

Last Updated : 01 Jun, 2022
Comments
Improve
Suggest changes
Like Article
Like
Report

The ASP Clear Method is used to clear or erase an Buffered HTML Output. This method only erases the response Body, It does not affect the response Headers. When the Response.buffer is set to false, It will show an error message after calling.

Syntax:

response.Clear

Parameter Values: It does not contain any parameters.

Return Values: This method have no return value.

Example:  

javascript
<%
// Buffer set to true
response.Buffer=true
%>
<%
 // call clear Method
response.Clear
%>

Output:

None

References:

  • https://docs.microsoft.com/en-us/previous-versions/iis/6.0-sdk/ms525713(v=vs.90)

Next Article
Article Tags :

Similar Reads