in reply to Re^2: cgi redirect
in thread cgi redirect
CGI's redirect function sends a complete HTTP response to the web browser telling it that the page it requested moved somewhere else, with the URL to there.
$ perl -le ' use CGI qw/:standard/; print redirect("http://some.where.else"); ' Status: 302 Found Location: http://some.where.else
It looks like you're trying to redirect while displaying a page to the user. Something like
CGI's redirect doesn't do that.<html> <head> <meta http-equiv="REFRESH" content="5;url=http://localhost/html/te +st.html"> </head> <body> <h1>redirecting to a different page</h1> </body> </html>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: cgi redirect
by Anonymous Monk on Nov 26, 2009 at 15:38 UTC | |
|
Re: cgi redirect
by Anonymous Monk on Nov 26, 2009 at 16:55 UTC | |
by gmargo (Hermit) on Nov 26, 2009 at 17:16 UTC | |
by Anonymous Monk on Nov 26, 2009 at 17:21 UTC | |
by keszler (Priest) on Nov 26, 2009 at 17:40 UTC |