ASP Batal Metode
Jelas jelas setiap metode output HTML telah buffered.
Catatan: Metode ini tidak akan menghapus header respon, tubuh hanya respon kosong.
Catatan: Jika Response.Buffer adalah palsu, maka metode ini akan menyebabkan kesalahan run-time.
tatabahasa
response.Clear
contoh
<%
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)
Lengkap Response Referensi Obyek