Metode Hapus ASP
Referensi Objek Respons Lengkap
Metode Clear menghapus semua output HTML yang di-buffer.
Catatan: Metode ini tidak menghapus header respons, hanya badan respons.
Catatan: Jika response.Buffer salah, metode ini akan menyebabkan kesalahan run-time.
Sintaksis
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>
Output:
(nothing)
Referensi Objek Respons Lengkap