开发者

Send http status 303 (See Other) in ASP?

How can i issue an http status code of 303 See other in ASP?

Using:

<%Response.Redirect "http://stackoverflow.com"%>

issues a 302 Object moved to the client:

HTTP/1.1 302 Object moved
Location: http://stackoverflow.com

which isn't what i'm trying to do.开发者_如何学JAVA

How can i issue an http status code of 303 (See Other) in ASP?


Try

<%
Response.Status = "303 See Other"
Response.AddHeader "Location", "http://stackoverflow.com"
Response.End
%>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜