Ask Experts Questions for FREE Help!
  Advanced
Register  |  Log in  
   Ask    
 Answer  
  Help  

Ask QuestionsprogressAnswer QuestionsprogressBuild ReputationprogressBecome an Expert
 
Free Answers in 3 Easy Steps

Register Now
3 Steps

At Ask Me Help Desk you can ask questions in any topic and have them answered for free by our experts. To ask questions or participate in answering them you must register for a free account. By registering you will be able to:
  • Get free answers from experts in any of our 300+ topics.
  • Accept money for answers that you provide.
  • Communicate privately with other members (PM).
  • See fewer ads.

Home > Computers & Technology > Internet & the Web   »   Automatic Refresh on Website

 
Thread Tools Display Modes
Question
 
 
#1  
Old Feb 16, 2006, 04:50 PM
wzartv's Avatar
wzartv
Full Member
wzartv is offline
 
Join Date: Jun 2005
Location: Pennsylvania
Posts: 395
wzartv See this member's comment history on his/her Profile page.
Send a message via AIM to wzartv
Automatic Refresh on Website

Hello,

How can I set up a web site to automatically refresh daily on the viewers browser... the home page is upadated constantly and I want to make sure visitors are seeing the most current version of the home page. How can I set that if it has been more than 24 hours, the page will automatically refresh on their browser instead of the stored temp internet files?

This involves using a cookie, correct?

How can I do this?

Reply With Quote
 
     

Answers
 
 
Old Feb 16, 2006, 05:19 PM   #2  
Junior Member
klmgb is offline
 
klmgb's Avatar
 
Join Date: Dec 2005
Location: Virginia
Posts: 109
klmgb See this member's comment history on his/her Profile page.
I'm a bit new at this, but learning fast. I found thia about autorefresh. You can put this in the head tag
<meta http-equiv=refresh content="0; url=index.htm">
that will cause the page to refresh, the 0 being the number of seconds before the site refreshes. Now I just looked this up on the internet, and I'm sure someone with a lot more experience than me will be able to tell you if this will work. Usually if I have a question about html I google HTML and whatever I'm looking for. IE "HTML auto refresh webpage" and get a whole lot of info.
There should also be a way to force the site to load from the server, I'm looking that up now.
  Reply With Quote
 
     
 
 
Old Feb 16, 2006, 05:23 PM   #3  
Full Member
wzartv is offline
 
wzartv's Avatar
 
Join Date: Jun 2005
Location: Pennsylvania
Posts: 395
wzartv See this member's comment history on his/her Profile page.
Send a message via AIM to wzartv
Hello,

Thanks for your response... however I only want it to refresh about once every day (just to update everyone's cache on the site)... I believe what you gave me would refresh it every 10, 20 seconds or minutes and I don't want to do that (it would torture dial-up users!) Thanks for your research!
  Reply With Quote
 
     
 
 
Old Feb 16, 2006, 05:46 PM   #4  
Junior Member
klmgb is offline
 
klmgb's Avatar
 
Join Date: Dec 2005
Location: Virginia
Posts: 109
klmgb See this member's comment history on his/her Profile page.
You probably want it to do is force it to load from the server then unless you are going to have visitors on the website for 24 hours. (or change the 0 to 86400

Some good info here

http://groups.google.com/group/alt.h...&start=0&num=3
  Reply With Quote
 
     
 
 
Old Feb 16, 2006, 05:49 PM   #5  
Junior Member
klmgb is offline
 
klmgb's Avatar
 
Join Date: Dec 2005
Location: Virginia
Posts: 109
klmgb See this member's comment history on his/her Profile page.
BTW, this is a good place to get website answers but there are a lot of forums that are more specific to websites/computers
  Reply With Quote
 
     
 
 
Old Feb 17, 2006, 01:31 AM   #6  
Ultra Member
LTheobald is offline
 
LTheobald's Avatar
 
Join Date: Feb 2004
Location: Cambridge, UK
Posts: 1,047
LTheobald See this member's comment history on his/her Profile page.LTheobald See this member's comment history on his/her Profile page.
Call LTheobald via Skype™ Send a message via MSN to LTheobald
Wzar - are you using either PHP or ASP for you pages? We need to know this so that we can point out suitable code for the cookies.

Also, instead of the refresh technique - try this. That should prevent the page from being cached by the user (cached means stored in the user's temporary internet files). So whenever they visit the page, they get the latest info.

That said though, if the page is dynamically created (PHP/ASP/JSP) then I don't think you should be having any refresh troubles like this.
  Reply With Quote
 
     

Bookmarks


Thread Tools
Display Modes

 
Similar Sponsors

Similar Threads
Question Asker Forum Answers Last Post
Automatic to Manual hondacivic93 Cars & Trucks 2 Feb 15, 2006 10:24 AM
Keep having to 'REFRESH' whilst browsing. Navarre Spyware, Viruses, etc. 10 Feb 13, 2006 07:12 AM
automatic typing mmoran333 Email 13 Jan 22, 2006 01:12 AM
Automatic Page Refresh after done jon_m212 Internet & the Web 1 Nov 20, 2003 02:05 AM
automatic dial up rugbug100 Computers for Beginners 2 Apr 13, 2003 04:27 PM




Copyright ©2003 - 2007, Ask Me Help Desk.
All times are GMT -8. The time now is 02:06 AM.