Printer Friendly Version Print this thread
Email this thread to a friend eMail this thread to a friend
Featured Web Site Template

Hundreds More at Free Site Templates.com!

Web Site Partners
Sponsored Links
Jet City Software
 
Whos Here ?
Reflects user activity within the last 5 minutes
Moderator(s): Prowler, jcokos
Member Message

sherrymarie
Joined: Feb 01, 2004
# Posts: 23

View the profile for sherrymarie Send sherrymarie a private message

Posted: 2004-Mar-06 15:48
Edit Message Delete Message Reply to this message

I posted a clients old website on my server until my newly created website was ready. I posted my new website 3 weeks ago. One of my clients associates can not get the new website to come up, however the old one is still showing. I have had him Refresh, Delete his Cookies & Temp files and nothing seems to work. My next advice was to be; check what version of IE he is running and has he done his updates. But if I can put some HTML code for automatic Refresh in my website, that should solve the problem without having to diagnois his computer.
Can anyone tell me what the HTML code for automatic refresh would be?



deecyd
Joined: Nov 04, 2004
# Posts: 1

View the profile for deecyd Send deecyd a private message

Posted: 2004-Nov-05 05:48
Edit Message Delete Message Reply to this message

Hi! I have had the same problem. By pressing [ctrl] while refreshing, the latest version of the page is displayed but I am also looking for some code that will automatically refresh the page. Have you had any luck finding this kind of code?



g1smd
Staff
Joined: Jul 28, 2002
# Posts: 10418

View the profile for g1smd Send g1smd a private message

Posted: 2004-Nov-05 11:38
Edit Message Delete Message Reply to this message

Don't use a "refresh to the same page" as the page will keep on loading and reloading and reloading forever. You can use a refresh to take someone from one page to another, but beware that search engines see that as an attempt to trick them and view it as spam.

You need a meta tag that says "nocache" instead. That will force the browser to retrieve the latest version every time. Google for a tutorial.

See also this other thread for a recent discussion about redirects (page 2 and 3 of that thread) as well as the threads mentioned in that one.



Ron C
Joined: Jul 23, 1999
# Posts: 1468

View the profile for Ron C Send Ron C a private message

Posted: 2004-Nov-05 12:46
Edit Message Delete Message Reply to this message

<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="no-cache">
<meta http-equiv="Expires" content="-1">
<meta http-equiv="Cache-Control" content="no-cache">

Any or all of the above meta-tags can be used to influence a visitor's browser. A more effective solution is to configure the web server to issue a no-cache header. Most servers are already configured to do that with dynamic pages, like php or cgi. None of these, however, and indeed nothing we can do, will "force" a browser or proxy to issue a new page request.

Proxy? Those are computers that sit between the visitor and the real Internet. AOL is infamous for its proxy servers, but many other larger ISP's have moved in that direction, too. If Ctrl-Refresh doesn't result in a refreshed page, it's a good sign there's a proxy on the line. And they, unfortunately, don't respond to keyboard controls. They may or may not respond to meta-tags or server headers. sad

At any rate, trying to take control of a browser's caching isn't something to be done lightly. If you're successful, and depending on the content being delivered, the visitor's experience on your site can be dramatically curtailed as every single bit and byte has to travel from server to browser, sometimes over and over. Even hitting the back button with caching disabled will, in most browsers, cause a full page reload, which is almost always an unnecessary irritation. Additionally, if your site is moderately busy, it puts an additional strain on your server and can substantially increase your bandwidth costs.

Sometimes, disabling cache is necessary and can't be avoided. Usually, it's not.



You are not permitted to post messages in this forum or topic, because of one or more of the following reasons:
  1. You have not yet logged in, or registered properly as a member
  2. You are a member, but no longer have posting rights.
  3. This is a private forum, for which you do not have permissions.

If you are a recent member, it's possible that you simply have not yet confirmed your account. Please check your email for a message entitled 'JimWorld Forums: Confirm Your Account' and follow the instructions contained within.

If you cannot find this message, click here to Re-Send it.

If you are still experiencing problem, please read the Login Assistance Article for some advice on what may be causing your login not to work properly.

Switch to Advanced Editor and ... Create a New Topic or Reply to this Thread

New posts Forum is locked
© 1995  ·  iWeb, Inc  ·  DBA JimWorld Productions