ASP 상태 속성


❮ 완전한 응답 객체 참조

Status 속성은 서버에서 반환된 상태 줄의 값을 지정합니다.

팁: 이 속성을 사용하여 서버에서 반환된 상태 줄을 수정합니다.


통사론

response.Status=statusdescription

Parameter Description
statusdescription A three-digit number and a description of that code, like 404 Not Found.
Note:  Status values are defined in the HTTP specification.

<%
ip=request.ServerVariables("REMOTE_ADDR")
if ip<>"194.248.333.500" then
  response.Status="401 Unauthorized"
  response.Write(response.Status)
  response.End
end if
%>

❮ 완전한 응답 객체 참조