Open In App

ASP Clear Method

Last Updated : 01 Jun, 2022
Improve
Improve
Like Article
Like
Save
Share
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)

Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads