Skip to content
Related Articles

Related Articles

ASP Clear Method
  • Last Updated : 07 Aug, 2020

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 messvge after calling.

Syntax:

response.Clear

Parameter Values: It does not contain any parameters.

Return Values: This method have no return value.

Example: 

filter_none

edit
close

play_arrow

link
brightness_4
code

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

chevron_right


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 :