Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Refresh

Reply
Thread Tools

Refresh

 
 
Rob & Hayley
Guest
Posts: n/a
 
      11-20-2004
Hello all, I was curious if there was a code for an HTML refresh? I wanted
to ensure that anyone accessing the info on the site had the latest info
each visit. Just a one time refresh.

Any help and direction would be appreciated.
Thanks
Rob


 
Reply With Quote
 
 
 
 
Lauri Raittila
Guest
Posts: n/a
 
      11-20-2004
in alt.html, Rob & Hayley wrote:
> Hello all, I was curious if there was a code for an HTML refresh?


There is no HTML code for refresh.

> I wanted
> to ensure that anyone accessing the info on the site had the latest info
> each visit.


How often your content changes? Automatic reload is only useful, if your
content changes every 5-10 minutes or so and it makes sence for user to
get reloaded content.

> Just a one time refresh.


That is quite stupid idea. First someone comes to your site, waits it to
load, and when it is loaded, it starts loading again. You are not looking
refresh.

> Any help and direction would be appreciated.
> Thanks


Send correct last modified header from server. Most likely your server
already does that, unless you have done some really stupid...
http://www.mnot.net/cache_docs/

--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
 
Reply With Quote
 
 
 
 
Roy Schestowitz
Guest
Posts: n/a
 
      11-20-2004
Rob & Hayley wrote:

> Hello all, I was curious if there was a code for an HTML refresh?


-You could use some JavaScript and call it in <body>.

-You could also use a refresh metatag, but I don't know about global browser
support for this.

> I wanted
> to ensure that anyone accessing the info on the site had the latest info
> each visit. Just a one time refresh.


I think most browsers (should) check if the current page on the server is
newer -- that is -- before using cache. Again, I can't be completely sure.

--
Roy Schestowitz
http://schestowitz.com
 
Reply With Quote
 
 
 
Reply

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Remote Desktop Window Does Not Refresh When Roaming =?Utf-8?B?R2F6VUs=?= Wireless Networking 2 07-11-2005 07:44 AM
JSP: Session parameters vanish on refresh. How do I keep them on refresh? Per Magnus L?vold Java 1 10-08-2004 02:52 PM
How do i refresh a datagrid from a pop up window without having to refresh the whole page? Pkenty ASP .Net Web Controls 0 05-28-2004 07:06 AM
using refresh button on the menu bar to refresh two frames. Jawahar Rajan ASP General 1 10-01-2003 09:20 PM
Problem with refresh button breaking automatic refresh brian lanning ASP .Net 0 07-29-2003 07:57 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57