69pao国产精品视频-久久精品一区二区二三区-精品国产精品亚洲一本大道-99国产综合一区久久

ASP Status 屬性

asp status 屬性

response 對象參考手冊 完整的 response 對象參考手冊

status 屬性規(guī)定由服務(wù)器返回的狀態(tài)行的值。

提示:請使用此屬性來修改由服務(wù)器返回的狀態(tài)行。

語法

response.status=statusdescription

參數(shù) 描述
statusdescription 三位數(shù)的數(shù)字,以及代碼的描述,比如 404 not found 。
注意:狀態(tài)值是在 http 規(guī)范中定義的。

實(shí)例

<%
ip=request.servervariables("remote_addr")
if ip<>"194.248.333.500" then
  response.status="401 unauthorized"
  response.write(response.status)
  response.end
end if
%>

response 對象參考手冊 完整的 response 對象參考手冊
相關(guān)文章