Andreas Prilop wrote:
On 17 May 2006, IveCal wrote:
<meta http-equiv="Refresh"
content="4;url= http://www.domain.com/link.html">
Don't do that!
http://www.w3.org/QA/Tips/reback
While you are generally correct, I have an intance where the Refresh is
indeed the only way I know to accomplish what I want.
I want to create and display a formatted index of all my Web pages as an
HTML Web page, on the fly. I have an SSI script that creates the Web
page. However, to execute that script, a Web page that refers to it
must first be served by the server.
The user requests my <http://www.rossde.com/get_index.html> . This
displays a page telling the visitor to wait but that, if a new page does
not load soon, select the Go button.
<http://www.rossde.com/get_index.html> causes SSI script get_index.ksh
to execute, creating file index_list.html .
<http://www.rossde.com/get_index.html> also contains
<META HTTP-EQUIV="Refresh" CONTENT="1;
URL=http://www.rossde.com/index_list.html ">
This then causes the generated <http://www.rossde.com/index_list.html >
to replace <http://www.rossde.com/get_index.html> in the browser window.
The 1 sec delay is to ensure that the script has indeed closed the
generated file before that file is served. However, I suspect that the
handling of SSI scripts by Apache would ensure that the file is closed
before even <http://www.rossde.com/get_index.html> loads.
--
David E. Ross
<http://www.rossde.com/>
Concerned about someone (e.g., Pres. Bush) snooping
into your E-mail? Use PGP.
See my <http://www.rossde.com/PGP/>