ASP » Response » Clear

Syntax:
Response.Clear

The Clear method clears (erases) any buffered HTML output.

The Clear method clears (erases) any buffered HTML output. It does not erase the response headers, only the body. If the buffer does not exist, because Response.Buffer was set to False, a runtime error will occur.

Note that in ASP version 2.0, the default for Response.Buffer is set to False, however in ASP version 3.0, the default for Response.Buffer is set to True.

Examples

Code:
<%
Response.Clear
%>