Status

The Status property specifies the value of the status line returned by the server. Status values are defined in the HTTP specification.

Syntax

Response.Status = StatusDescription 
 

Parameters

StatusDescription
A string that consists of both a three-digit number that indicates a status code and a brief explanation of that code. For example, 310 Move Permanently.

Remarks

Use this property to modify the status line returned by the server.

Examples

The following example sets the response status.

<% Response.Status = "401 Unauthorized" %>
 

Applies To

Response Object


© 1997 by Microsoft Corporation. All rights reserved.