REFRESH TAG confuses Firefox

Discussion of bugs in Mozilla Firefox
Post Reply
racket
Posts: 71
Joined: August 9th, 2004, 9:19 am

REFRESH TAG confuses Firefox

Post by racket »

I have already posted in firefox Support. Should I post again here or should I just make a reference to the other post?

> http://forums.mozillazine.org/viewtopic ... 496#710496

Many thanks
+++ Racket +++
User avatar
Äkiidoll
Posts: 5473
Joined: August 16th, 2003, 2:03 pm
Location: USA
Contact:

its not a bug

Post by Äkiidoll »

Its not a bug in Firefox, its a bug in the code.
It works fine if properly coded as in this example:

Code: Select all

<html><head>
<!-- Begin Re-Direct Command -->
<!-- Re-Direct Page JavaScript Code -->
<meta http-equiv="refresh" content="5;url=https://www.usaa.com/secured/cp_login_redirect.asp">
<!-- End Re-Direct Command -->
</head>
A prisoner of Christ Jesus, by His stripes I was healed
nosebleed
Moderator
Posts: 2427
Joined: February 22nd, 2003, 9:25 am
Location: Chesapeake, VA, USA
Contact:

Re: REFRESH TAG confuses Firefox

Post by nosebleed »

racket wrote:I have already posted in firefox Support. Should I post again here or should I just make a reference to the other post?

> http://forums.mozillazine.org/viewtopic ... 496#710496


That is not your other post... that was split from your actual post here:

http://forums.mozillazine.org/viewtopic ... ht=#710485
racket
Posts: 71
Joined: August 9th, 2004, 9:19 am

Post by racket »

The original enquiry follows:
BUG?
When a page with a REFRESH TAG refreshes to a new page, the back button does not take you back to the page you refreshed from. Locally, on my computer a refresh tag in a web page (WHICH WORKS FINE IN IE) causes Firefox to open a new window and close the "from" page. [or is it that simply no back button appears, which is the same result?] On the web, the back button does appear but it does not lead back to the' refreshed from page' but to the last page you were on that had NO refresh tag.
EXAMPLE : http://www.house-of-cashmere.com
this site refreshes from the first page to the second page then refreshes to a 3rd page. You cannot use the back button to go back to a 'refreshed from ' page. (WORKS FINE IN IE)

If this is normal then I consider it a bug. The refresh tag is both an ancient arfifact and a very common web page tool.

Thank you Caetck for your answer
DOES NOT WORK
The difference between the tag in the example site and the "correct" way that you gave me is apparently some javascript before and after the html tag. Other meta tags don't need this so why would the refresh tag? In any case I have tried what you said and though it still works in IE it still does not work in FF. That is the browser back button "forgets" the preceding pages with refresh tags and goes back to the last page that has NO refresh tag. More input is welcome.
+++ Racket +++
racket
Posts: 71
Joined: August 9th, 2004, 9:19 am

Post by racket »

also numerous info sites that come in Google - search "refresh html" show the original example as correct. ??
thanks again
+++ Racket +++
InvisiBill
Posts: 1632
Joined: August 27th, 2003, 1:42 pm
Location: Michigan
Contact:

Post by InvisiBill »

http://webtips.dan.info/refresh.html has some info on when you should and shouldn't use refresh tags. For stuff like this, it's best to just avoid them.

Caetck's example is exactly the same, except it has some comments and an absolute URL instead of relative. Neither one shows the Back button after refreshing. Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3

This seems like a bug, though I don't know what the specs say about handling refreshes. Note that with auto-refreshes like that, having a Back button is sometimes just as useless as not having it...
Lost User 49637
Posts: 0
Joined: December 31st, 1969, 5:00 pm

Post by Lost User 49637 »

Another meta refresh bug has to do with firefox stealing focus when page meta refreshes.. unexpected behavior that does not happen with other browsers. Should be relatively easy to fix.

http://bugzilla.mozilla.org/show_bug.cg ... dd_comment
-ck-
Posts: 219
Joined: November 6th, 2004, 1:40 am

Post by -ck- »

Post Reply