최신 웹 개발 튜토리얼
 

ASP삭제 방법


<전체 응답 객체 참조

지우기 방법은 버퍼 된 HTML 출력을 지 웁니다.

Note: 이 방법은 응답 헤더 만 응답 본문을 취소하지 않습니다.

Note: Response.Buffer가가 false의 경우,이 방법은 런타임 오류가 발생합니다.

통사론

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>

Output:

(nothing)

<전체 응답 객체 참조