ASP Status Property
Complete Response Object Reference
The Status property specifies the value of the status line returned by the server.
Tip: Use this property to modify the status line returned by the server.
Syntax
|
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.
|
Examples
<%
ip=request.ServerVariables("REMOTE_ADDR")
if ip<>"194.248.333.500" then
response.Status="401 Unauthorized"
response.Write(response.Status)
response.End
end if
%>
|
Complete Response Object Reference
 |
W3Schools' Online Certification Program
The perfect solution for professionals who need to balance work, family, and career building.
More than 4000 certificates already issued!
|
The HTML Certificate documents your knowledge of HTML, XHTML, and CSS.
The JavaScript Certificate documents your knowledge of JavaScript and HTML DOM.
The XML Certificate documents your knowledge of XML, XML DOM and XSLT.
The ASP Certificate documents your knowledge of ASP, SQL, and ADO.
The PHP Certificate documents your knowledge of PHP and SQL (MySQL).
|