ASP Clear 方法
❮ 完整的 Response 对象参考
Clear 方法清除所有已缓冲的 HTML 输出。
注意:此方法不清除响应头,只清除响应体。
注意:如果 response.Buffer 为 false,此方法将导致运行时错误。
语法
response.Clear
示例
<%
response.Buffer=true
%>
<html>
<body>
<p>这是我想发送给用户的一些文本。</p>
<p>不,我改变主意了。我想清除文本。</p>
<%
response.Clear
%>
</body>
</html>
输出
(无)
❮ 完整的 Response 对象参考