Skip to content
Related Articles

Related Articles

ASP Clear Method

View Discussion
Improve Article
Save Article
  • Last Updated : 01 Jun, 2022
View Discussion
Improve Article
Save Article

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)
My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!