-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Wednesday 06 November 2002 15:19, Eric L. Brine wrote:
HTML 4.01 also has a section on META and http-requiv. However, the
only reference to refresh is: Note. Some user agents support the
use of META to refresh the current page after a specified
No, that's server push you're thinking of. NPH (non-parsed header)
scripts are CGI scripts that talk directly to the client without the
server parsing headers and adding others (like the one that says it's
Apache).
My bad. It was. But I think one needs to use NPH scripts to generate
On Tue, 5 Nov 2002 at 22:52, Chris Shiflett opined:
[snip]
CS:The W3C's stance on refresh is the same for the header as well as the
CS:meta tag: they did not originally intend for it to be used to specify a
CS:*different* URL as a rudimentary method of redirection. They meant it to
CS:be used
I just wanted to mention that the meta tag as well as its http-equiv
attribute are both official parts of the HTML standard and have been for
quite some time.
Yes and no.
HTML 4.0 has a section on META and http-requiv. In it, it mentions that
Some user agents support the use of META to
--- Perrin Harkins [EMAIL PROTECTED] wrote:
I might be overzealous about this, but I dislike seeing HTTP-EQUIV
meta
tags used when actual HTTP headers are available to do the same
thing.
It's fine if there's a reason for it, but usually people do it
because
they don't realize they can
Greetings.
[...]
[snip]
CS:The W3C's stance on refresh is the same for the header as
well as the
CS:meta tag: they did not originally intend for it to be used
to specify a
CS:*different* URL as a rudimentary method of redirection.
[...]
i was bitten by this assumption recently. case
I just wanted to mention that the meta tag as well as its http-equiv
attribute are both official parts of the HTML standard and have been
for quite some time.
Yes and no.
Well, I disagree with the no. I will explain it again below.
HTML 4.0 has a section on META and
On the use of META REFRESH tags, Chris wrote:
It is also the only option for the pause, then redirect behavior the
original poster desired that I can think of.
I also seem to recall reading in the HTTP spec (and in Lincoln's CGI.pm code)
that the use of a Redirect header in response to a POST
[EMAIL PROTECTED] wrote:
Also, NPH is only implemented in the NS browsers, and was a way for a webserver
to send multiple documents inline down to a browser, and was an ancient way
to write status pages and such that automagically refreshed themselves.
No, that's server push you're thinking
Hi, this is not a mod_perl question, but rather a
question to see if I have to use mod_perl to achive this.
In my perl program executing in Apache web server, I
have the following code:
use CGI ;
$query = new CGI ;
$url = "http://www.mycite.com
; #The url
Wei Gao wrote:
In my perl program executing in Apache web server, I have the
following code:
use CGI ;
$query = new CGI ;
$url = http://www.mycite.com ; #The url to refresh.
print $query-header(-status='200 Ok', -type='text/html');
print htmlheadmeta http-equiv=\Refresh\
uesday, November 05, 2002 2:50
PM
Subject: Re: use http-equiv to refresh
the page
Wei Gao wrote: In my perl program executing in
Apache web server, I have the following code:
use CGI ; $query = new CGI ; $url = "<A"
href="http://www.mycite.com">http://w
PROTECTED]
cc:[EMAIL PROTECTED]
Subject:Re: use http-equiv to refresh the page
Thanks.
I have tried print $query-redirect('http://somewhere.else/in/movie/land')
; before, which works fine as to redirect the user to the web page.
However, if the user then tries to refresh this page, the CGI
Wei Gao wrote:
I have tried print
$query-redirect('http://somewhere.else/in/movie/land') ; before,
which works fine as to redirect the user to the web page. However, if
the user then tries to refresh this page, the CGI script is called
again without any params, which result in Internal
]
To: Wei Gao
Cc: [EMAIL PROTECTED]
Sent: Tuesday, November 05, 2002 3:19
PM
Subject: Re: use http-equiv to refresh
the page
Any time you see an Internal Server Error, you should be
looking in yourapache server's error_log file to see what exactly the
error was. That willh
Is using meta tag a \bad\ approach?
Yes. It\'s something that Netscape added to their browser, which others
may or may not add to their browsers. It\'s not part of any HTTP spec
and isn\'t guaranteed to work, even on totally correct web browsers.
A meta tag is not something
Chris Shiflett wrote:
A meta tag is not something unique to Netscape
I said it was added by Netscape, and I'm pretty sure it was, back in 1.1
or 2.0.
As with any other HTML tag, the meta tag does not need to be part of an HTTP specification in order to be valid. Also, it is guaranteed to
Perrin Harkins wrote:
Chris Shiflett wrote:
http://www.w3.org/TR/html4/struct/global.html#h-7.4.4.2
Look a little further down that page:
/*Note.* Some user agents support the use of META
http://www.w3.org/TR/html4/struct/global.html#edef-META to refresh
the current page after a specified
Wei Gao wrote:
Thanks for the reminder. I think the reason that print
$query-redirect(-uri='http://www.mysite.com', -nph=1); is not
working, is because my program doesn't seem to know how to handle
nph. I am using Apach1.3.26 and Perl 5.6.1. I have
use CGI qw(:standard -nph) ; at the
Chris Shiflett wrote:
I just wanted to mention that the meta tag as well as its http-equiv
attribute are both official parts of the HTML standard and have been
for quite some time. Netscape also introduced things like cookies and
SSL, but that should in no way discredit the technology.
I'm
20 matches
Mail list logo