Discuss how to use and promote Web standards with the Mozilla Gecko engine.
14 posts • Page 1 of 1
I encountered a problem with HTML Meta Refresh tag.
I used a Meta Refresh tag in my HTML page to refresh the page at a certain period of time.
It works properly with Internet Explorer.
But with Firefox the page is displayed correctly at first time then when refresh timer expires it becomes a blank(white) page and stays there until I press the reload button then the page comes out properly. I viewed the source of the blank (white) page it is exact same as a correct page. I don't know why the page cannot be displayed properly.
My computer runs under win98.
I am wondering anyone encountered this before?
Thanks for help.
I'll move this to the Web Development forum. You'll have to register to post there.
Could you past your code or provide a link to the page in question?
Depending on a number of factors, the pref network.http.redirection-limit in about:config may have something to do with it.
Have a link to the page that's doing this?
Do things work better if the server sends a "redirect" header instead of using the HTML meta tag?
http://192.168.0.121/ - that's not an internet address
192.168.xxx.xxx IP addresses are IP addresses for local networks used by some brands of routers, etc...
If the problem is related to your router or your network somehow, that gets a little over my head.
peter's link also points out that the syntax used by the OP is incorrect. The page is refreshing, but has not been given a URL to refresh to. Correct code would be
I think I should give a bit more info about my question.
This is a very simple embedded web server program. It resides in a microprocessor-based embedded product and is based on a RTOS. It is designed to provide a means for customer to monitor alarm information remotely using web Browser.
I used HTML Meta Refresh tag for automatically refreshing the current alarm pages that include dynamic alarm data not for redirection purpose.
Regarding the HTML Meta Refresh tag syntax, it doesn't matter since I don't use it for redirection purpose.
The program has been working properly until recently we got a phone call from our customer who said the alarm page automatic refresh didn't work with Firefox browser.
Oh it most certainly does matter. Your syntax is wrong. IE is "guessing" at what you intended. Firefox makes no such attempt. It's doing exactly what you tell it to do.
Fix the syntax and let us know what happens.
Actually originally I wrote the HTML Meta Refresh tag as follows:
<meta http-equiv="refresh" content="60; url=index.htm">
then I changed it according to my friend's suggestion into:
<meta http-equiv="refresh" content="60" url="index.htm">
They both do the same thing no any difference.
I don't think you're supposed to use relative URLs in meta refreshes, and also, if the users came into the page with the IP address (or domain name) alone, it's inconsistent to refresh to "index.htm", which would put two different URLs in the browser's history. Better to refresh to the full URL, "http://192.168.0.121/".
OK, here's a redirect page I've been using recently that will definitely work in Firefox (I've hidden the URL cos the site's not live yet):
ah, I was having the same issue too with my site convert youtube to mp3 youtube mp3 converter . Thanks Robin that helped fix it.
Last edited by LoudNoise on August 6th, 2011, 10:26 am, edited 1 time in total.
Reason: Broke the links since they were not necessary.
14 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 4 guests