Reply
What is the best way to have auto-refresh?
Old 12-26-2005, 02:59 AM What is the best way to have auto-refresh?
Extreme Talker

Posts: 226
Location: South Korea
Is there a way to have your site auto refresh? Currently, I have a small pop-up that reminds my visitors to refresh. Is there a way for a basic HTML page to auto refesh?

Mike
__________________
Classifieds for those living in Korea
Forums for those living in Korea
Sports Trader Central, Buy, sell or trade sport cards
mikesilvia is offline
Reply With Quote
View Public Profile Visit mikesilvia's homepage!
 
When You Register, These Ads Go Away!
Old 12-26-2005, 10:59 AM
Average Talker

Posts: 28
its nonsense. it is not required. tell why u need an auto-refresh? i dont see any ideas for that!
Surfing7 is offline
Reply With Quote
View Public Profile Visit Surfing7's homepage!
 
Old 12-26-2005, 12:03 PM
Harvey's Avatar
Super Spam Talker

Posts: 901
Name: Harvey C
Location: Brighton, UK
Quote:
Originally Posted by surfing7
its nonsense. it is not required. tell why u need an auto-refresh? i dont see any ideas for that!
Please don't be so utterly ridiculous - how on earth do you know whether or not he "needs" auto-refresh? There are many websites that may require auto-refresh, although many of which are slowly being replaced with AJAX, such as web-based email or webcams.

Mike, use the following meta tag in your <head> tag:

Code:
<META HTTP-EQUIV=Refresh CONTENT="10; URL=index.htm">
This will refresh the index.htm page after 10 seconds.

I believe you can also do it with Javascript - let me know if you need to
__________________
Buy wii fit|Gift ideas

Last edited by Harvey : 12-26-2005 at 12:09 PM.
Harvey is offline
Reply With Quote
View Public Profile
 
Old 12-27-2005, 06:51 AM
amygdela's Avatar
Super Talker

Posts: 112
I heavily agree with Surfing7. Refreshing a page without letting your visitors know is not really top-of-the-line accesibility. Never surpise your visitors on a website.
amygdela is offline
Reply With Quote
View Public Profile
 
Old 12-27-2005, 03:32 PM
Harvey's Avatar
Super Spam Talker

Posts: 901
Name: Harvey C
Location: Brighton, UK
I think it's a little bit of an assumption to make, that the refresh tag has absolutely no use whatsoever.

Whether it's "top-of-the-line accesibility" or not, or if you think it's "nonsense" is out of the question. The fact is, Mike wanted to know the code to do it, and I told him - it's that simple.
__________________
Buy wii fit|Gift ideas
Harvey is offline
Reply With Quote
View Public Profile
 
Old 12-28-2005, 09:01 PM
Extreme Talker

Posts: 226
Location: South Korea
Harvey, thanks! I just want the page to refresh when a visitor comes back, not while he is on the site. Any ideas?

I am not sure what the big fuss is. I make a lot of changes on my front page and a few other HTML pages. If my visitors come back and don't refresh their page, they will not see the changes and think the site is dead. I had a bunch of people tell me, "I don't see the changes you made." I always say "refesh your browswer" and they say, "ah!"

I am pretty new to being a webmaster. I have 3 years experience running forums, but have been working on websites for the past year. Please help a newbie and let me know why a refresh code is wrong! I don't need an autorefresh while members are surfing the site, just a refresh when they return.

Mike
__________________
Classifieds for those living in Korea
Forums for those living in Korea
Sports Trader Central, Buy, sell or trade sport cards

Last edited by mikesilvia : 12-28-2005 at 09:04 PM.
mikesilvia is offline
Reply With Quote
View Public Profile Visit mikesilvia's homepage!
 
Old 12-29-2005, 04:52 AM
Harvey's Avatar
Super Spam Talker

Posts: 901
Name: Harvey C
Location: Brighton, UK
Ah, I see...

In my few years of being a webmaster, I've never had this problem - I'll post back with some ideas later
__________________
Buy wii fit|Gift ideas
Harvey is offline
Reply With Quote
View Public Profile
 
Old 12-29-2005, 05:27 AM
King Spam Talker

Posts: 1,004
Location: Manchester, UK
Hi mikesilvia,

could you use
HTML Code:
<meta http-equiv="expires" content="0">
to stop the page caching? Each time the user returned to the page there would be no cache and the page would load from the server.
gringo is offline
Reply With Quote
View Public Profile Visit gringo's homepage!
 
Old 05-29-2006, 11:21 PM Re: What is the best way to have auto-refresh?
Extreme Talker

Posts: 226
Location: South Korea
Gringo, thanks! Sorry for the late reply.

Mike
__________________
Classifieds for those living in Korea
Forums for those living in Korea
Sports Trader Central, Buy, sell or trade sport cards
mikesilvia is offline
Reply With Quote
View Public Profile Visit mikesilvia's homepage!
 
Old 07-06-2006, 10:56 AM Re: What is the best way to have auto-refresh?
Novice Talker

Posts: 6
Name: Dirk-Jan
empty cache problem ... solved ?
__________________
www.ajaxtalk.com - Asynchronous Javascript and XML Discussion Board
deejay111 is offline
Reply With Quote
View Public Profile Visit deejay111's homepage!
 
Old 07-06-2006, 01:45 PM Re: What is the best way to have auto-refresh?
Skilled Talker

Posts: 87
How is it nonsense? Suppose it was a news site or sports site that he was building that was updating often? Like a football match...90 mins...updating when there is a foul, card, goal, penalty etc. Because you don't use it doesn't mean it is useless. I'm pretty sure that you have something on your website if you have one that is deemed useless! However it is only useful depending on the type of website that you are working on.
__________________
Visit AnmarTech and the AnmarTech Forums. You won't regret it. Link exchanges are welcome with sites with appropriate content.
agent14 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to What is the best way to have auto-refresh?
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.15766 seconds with 12 queries