CGI Redirect to another page
Andrew Chalk
achalk at XXXmagnacartasoftware.com
Wed Sep 24 04:45:54 EDT 2003
Thanks, good web search! I couldn't get "Location:URL" to work but META did.
Regards.
"Andrew Dalke" <adalke at mindspring.com> wrote in message
news:4n9cb.1447$RW4.791 at newsread4.news.pas.earthlink.net...
> Andrew Chalk:
> > Assume that I have a static HTML page that I want
> > displayed (e.g. index.htm). Other than 'print ...' is there any way to
> > redirect to this URL (for example, like Response.Redirect() in ASP)?
>
> The Response.Redirect likely works by putting something in
> the header. The HTML page you have doesn't have access to
> the header. However, you can use the meta tag to tell the
> browser to look elsewhere. But that won't work for tools which
> don't parse the HTML.
>
> It's an easy web search (once you know the right keywords :) -
> "header redirect meta" and I found
> http://vancouver-webpages.com/META/FAQ.html#redirect
> "How can I redirect the user to another page ?"
> with three different answers
>
> Andrew
> dalke at dalkescientific.com
>
>
>
More information about the Python-list
mailing list