JRS: In article <k9************ *************** *****@4ax.com>, dated
Tue, 28 Dec 2004 04:08:03, seen in news:comp.infos ystems.
www.authoring.h
tml, Jan Roland Eriksson <jr****@newsguy .com> posted :
On Tue, 28 Dec 2004 00:16:39 GMT, "Gerard M Foley"
<gf****@columb us.rr.com> wrote:
Can one write a webpage which is not displayed but which simply redirects
the user to another page without any action by the user?
Sure; read up on how your www server is designed to handle such things.
HTTP response codes should be your matter of interest.
Why are the regulars here so determined to be unhelpful given the
slightest excuse? The question that you have given a sort of indirect
answer to is not even the question that was actually asked.
The OP wishes, he says, to write a Web page that redirects; and a Web
page is the material, headers apart, transmitted in response to an HTTP
request; typically, at least, starting <DOCTYPE or <HTML and ending
</HTML>.
He has not asked about configuring a WWW server. It might be useful to
tell him something about that, or to cite explicitly a reliable
reference; but that does not answer the question that he asked. He may
not even have access to server configuration.
The answer to the question asked is "Yes, though I cannot be sure that
it works on all possible systems, nor that formal standards cover the
matter."
And for the question implied, an illustration :
<URL:http://www.merlyn.demo n.co.uk/gravity.htm> summons a page
including, in the <HEAD> section, a line
<META HTTP-EQUIV="REFRESH" CONTENT="2; URL='gravity0.h tm'">,
which, after 2 seconds, summons
<URL:http://www.merlyn.demo n.co.uk/gravity.htm> as a replacement; but
ISTR that one is, or was, advised to include an ordinary link like
<a href="gravity0. htm">gravity0.h tm</a> as a backup.
--
© John Stockton, Surrey, UK. ?@merlyn.demon. co.uk Turnpike v4.00 MIME. ©
Web <URL:http://www.merlyn.demo n.co.uk/> - FAQqish topics, acronyms & links;
some Astro stuff via astro.htm, gravity0.htm ; quotings.htm, pascal.htm, etc.
No Encoding. Quotes before replies. Snip well. Write clearly. Don't Mail News.