×
ASP 教程ASP 简介ASP 安装ASP 语法ASP 变量ASP 程序ASP 表单ASP CookiesASP SessionASP ApplicationASP #includeASP Global.asaASP 发送电子邮件

ASP 对象

ASP ResponseASP RequestASP ApplicationASP SessionASP ServerASP ErrorASP FileSystemASP TextStreamASP DriveASP FileASP FolderASP DictionaryASP ADO

ASP 组件

ASP AdRotatorASP BrowserCapASP Content LinkingASP Content Rotator

ASP 与 AJAX

AJAX 简介AJAX ASPAJAX 数据库

ASP 总结 & 实例

ASP 快速参考ASP 总结ASP 实例

ASP Clear 方法


ASP Response 对象ASP Response 对象


Clear 方法清空任何已缓冲的 HTML 输出。

注意:此方法无法清除响应的头部,只能清空响应的正文。

注意:假如 response.Buffer 为 false,那么此方法会引起一个 run-time 错误。

语法

response.Clear

实例

<%
response.Buffer=true
%>
<html>
<body>
<p>This is some text I want to send to the user.</p>
<p>No, I changed my mind. I want to clear the text.</p>
<%
response.Clear
%>
</body>
</html>

输出:

(nothing)

ASP Response 对象ASP Response 对象


分类导航

关注微信下载离线手册

bootwiki移动版 bootwiki
(群号:472910771)