Does anyone know/recal what the redirect tag for HTML is?
Thanks
Chris Moore
CTC
-the 4 stands for 4 seconds to wait before redirecting
-for uri you have to fill in the url/uri where you want to redirect to
You could of course also put in some javascript:
<script type="text/javascript" language="javascript">
// <!--
window.location="uri";
// -->
</script>
Or, on the server side with a http 301 header.
Richard Vrijhof
which does not work for those of us who disable Javascript.
><meta http-equiv="refresh" content="4; URL=uri">
This depends on the browser noticing it, but I think most browsers
do. This makes Back a little dicier, I think; you have to hit Back
and then hit Back again within 4 seconds (in the example case) or you
go nowhere. I am told that search engines don't like this redirect
for some reason, but I don't recall any details.
(While I'm on the topic: sometimes I get into a state where I'll go to
a URL, it flashes something, and then goes to another page. I hit
Back, and it flashes and doesn't change the page. Is this due to a
"refresh" with 0-second delay? It's really obnoxious, whatever it
is.)
>Or, on the server side with a http 301 header.
Isn't this the most general solution, in that any reasonable browser
has been able to handle this for years, and it doesn't screw up the
Back button?
--
Tim McDaniel is tm...@jump.net; if that fail,
tm...@us.ibm.com is my work account.
> (While I'm on the topic: sometimes I get into a state where I'll go to
> a URL, it flashes something, and then goes to another page. I hit
> Back, and it flashes and doesn't change the page. Is this due to a
> "refresh" with 0-second delay?
Usually, yes.
> It's really obnoxious, whatever it is.)
Some authors seem to consider that to be a benefit. They imagine that
they are "trapping" the reader on their pages, and that their
advertising will benefit from it. Mumble.
> >Or, on the server side with a http 301 header.
>
> Isn't this the most general solution, in that any reasonable browser
> has been able to handle this for years, and it doesn't screw up the
> Back button?
Of course it is. But many fools won't use it because they claim that
"it's not an HTML command". (Clue: HTML is markup - it does not have
"commands").
Redirects are actually part of HTTP, rather than HTML. This lets you
redirect images as well as HTML pages.
--
mailto:is...@altavista.net - +44441089921 - Tim Bannister
http://www.jellybaby.net/~isoma/ - Spam? What spam? (pats procmail)