|
The Status property sets the value of the status line returned by the server. Status values are defined in the HTTP specification.
Response.Status = StatusDescription
StatusDescription
A string that contains a three-digit status code and a brief explanation of that status. For example, "310 Move Permanently".
Use this property to modify the status line returned by the server.
The following example sets the response status:
Response.Status = "401 Unauthorized"
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.