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
%>
精彩评论