On Sat, 20 Jan 2001, David Ruby wrote:
> I can do redirection in ASP (Active Server Pages) like this:
>
>     Response.Redirect "another_url.htm"
>
> May I know the equivalent in ruby?
>
> - Thanks

require "cgi"

cgi = CGI.new
print cgi.header("status"   => "REDIRECT",
                 "location" => "http://where.to.redirect")


I haven't tried it, but it should work.


--
Michael Neumann