[101912] in RedHat Linux List
Re: META refresh tag
daemon@ATHENA.MIT.EDU (Chad W. Skinner)
Mon Nov 30 11:55:05 1998
Date: Mon, 30 Nov 1998 10:55:42 -0600
From: "Chad W. Skinner" <chadws@networksplus.net>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
I guess I need a little clarification as to what you are trying to do. Let
me explain what I see.
You have two frames and the following HTML files, mainframe.html which
generates the two frames and load frame1.html and frame2.html. Five seconds
after loading the frame2.html file calls a CGI script and displays its
output.
The problem is that if your CGI does not output the META tag it will not
refresh itself.
In effect what you are trying to do is create a recursive function, a web
page or Rather CGI Script that calls itself from a web browser. This is
accomplished by having the CGI output something similar to the following:
<HTML>
<head>
<META HTTP-EQUIV="Refresh"
CONTENT="5;URL=http://www.here.com/cgi-bin/read.pl">
****Your text file *****
</html>
<body>
Another point, you can get rid of frame2.html completely, by changing the
mainframe.html file to call your CGI directly by replacing the URL for
frame2.html with the URL for your CGI. Also since your CGI output is
refreshing itself you can try using the code <META HTTP-EQUIV="refresh"
CONTENT="5"> this assumes the page is to reload itself.
Also, this is all going from my understanding of this situation so if I am
not understanding the problem this may not be relevant at all.
Hope this helps,
Chad
----------
From: Ronnie Thum <cwthum@network2.cs.usm.my>
To: redhat-list@redhat.com
Subject: Re: META refresh tag
Date: Mon, Nov 30, 1998, 10:00 AM
On Mon, 30 Nov 1998, Chad W. Skinner wrote:
> Also, it must be in
> each page that is to be generated by the CGI or it will not refresh at the
> desired 5 second interval.
What do you mean by the above statement ?
I have a mainframe.html that calls to frame1.html and frame2.html
the refresh is written in frame2.html.
BTW, it is written between <HEAD>...</HEAD>
Ronnie
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.