Re: use http-equiv to refresh the page

2002-11-12 Thread Juha-Mikko Ahonen
-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

Re: use http-equiv to refresh the page

2002-11-07 Thread mike808
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

Re: [OT] use http-equiv to refresh the page

2002-11-06 Thread fliptop
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

RE: use http-equiv to refresh the page

2002-11-06 Thread Eric L. Brine
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

Re: use http-equiv to refresh the page

2002-11-06 Thread Mithun Bhattacharya
--- 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

RE: [OT] use http-equiv to refresh the page

2002-11-06 Thread Alessandro Forghieri
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

RE: use http-equiv to refresh the page

2002-11-06 Thread Chris Shiflett
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

Re: use http-equiv to refresh the page

2002-11-06 Thread mike808
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

Re: use http-equiv to refresh the page

2002-11-06 Thread Perrin Harkins
[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

use http-equiv to refresh the page

2002-11-05 Thread Wei Gao
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

Re: use http-equiv to refresh the page

2002-11-05 Thread Perrin Harkins
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\

Re: use http-equiv to refresh the page

2002-11-05 Thread Wei Gao
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

Re: use http-equiv to refresh the page

2002-11-05 Thread wsheldah
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

Re: use http-equiv to refresh the page

2002-11-05 Thread Perrin Harkins
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

Re: use http-equiv to refresh the page

2002-11-05 Thread Wei Gao
] 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

Re: use http-equiv to refresh the page

2002-11-05 Thread Chris Shiflett
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

Re: use http-equiv to refresh the page

2002-11-05 Thread Perrin Harkins
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

Re: use http-equiv to refresh the page

2002-11-05 Thread Chris Shiflett
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

Re: use http-equiv to refresh the page

2002-11-05 Thread Perrin Harkins
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

Re: use http-equiv to refresh the page

2002-11-05 Thread Perrin Harkins
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