如何在ASP中发布http status code of 303 See other
?
使用:
<%Response.Redirect "http://stackoverflow.com"%>
向客户发出302 Object moved
:
HTTP/1.1 302 Object moved
Location: http://stackoverflow.com
which isn't what i'm trying to do
如何在ASP中发出http状态代码303(查看其他)?
答案 0 :(得分:2)
尝试
<%
Response.Status = "303 See Other"
Response.AddHeader "Location", "http://stackoverflow.com"
Response.End
%>