[thelist] ASP: changing response.redirect headers

Scott Schrantz scotts at rci-nv.com
Tue Oct 22 15:13:00 CDT 2002


> I want to do a server-side redirect using the 307 (or possibly
> 301) header.  Is this possible, and how?

I've had luck with code like this:

<%
Response.Status = "301 Moved"
Response.AddHeader "Location", "http://www.thesite.com/newpage.asp"
Response.End
%>

--
Scott Schrantz
work: www.rci-nv.com
play: www.computer-vet.com



More information about the thelist mailing list