Claro Método ASP
Claro Claro cualquier método salida HTML se haya guardado.
Nota: Este método no consigue eliminar el cabeceras de respuesta, sólo el cuerpo respuesta vacía.
Nota: Si Response.Buffer es falsa, entonces este método provocará un error en tiempo de ejecución.
gramática
response.Clear
Ejemplos
<%
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)
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)
Respuesta Completa referencia de objeto