Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Asp Classic return specific http status code

How can I return a specific http status code from an asp classic?

like image 250
C. Ross Avatar asked Sep 21 '09 18:09

C. Ross


1 Answers

 Response.Status = "404 File Not Found"

A string which specifies the value of status line of the server. It is included in HTTP headers of the response. This string should contain both three digit code and a brief explanation for it e.g. "404 File Not Found".

The ASP Response Object

like image 97
CD.. Avatar answered Sep 22 '22 18:09

CD..