एएसपी स्थिति संपत्ति
❮ पूर्ण प्रतिक्रिया वस्तु संदर्भ
स्थिति गुण सर्वर द्वारा लौटाई गई स्थिति रेखा का मान निर्दिष्ट करता है।
युक्ति: सर्वर द्वारा लौटाई गई स्थिति रेखा को संशोधित करने के लिए इस गुण का उपयोग करें।
वाक्य - विन्यास
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
%>
❮ पूर्ण प्रतिक्रिया वस्तु संदर्भ