Asp Classic返回具体的http状态码

前端之家收集整理的这篇文章主要介绍了Asp Classic返回具体的http状态码前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
如何从asp经典返回特定的http状态代码

解决方法

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

原文链接:https://www.f2er.com/aspnet/250578.html

猜你在找的asp.Net相关文章