A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2003-September/227368.html below:

CGI Redirect to another page

CGI Redirect to another page CGI Redirect to another pageAndrew 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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4