refresh element

  • Thread starter Thread starter Kat
  • Start date Start date
K

Kat

I know you can add a refresh tag within the body, but you
have to set a repeating interval. Is there a way that I
can just insure that when a person clicks on the page
(the home page in this case), that the page is up-to-
date? In other words, I would like it to only refresh
once, upon loading. When I set the number to 0, it keeps
refreshing every second. Thanks!
 
Hi Kat,

I'm afraid you're using the wrong directive. Try the following, added to the
<head> section of your page:

<META HTTP-EQUIV="Pragma" CONTENT="no-cache">

This prevents the browser from caching the document, so it always fetches a
fresh copy.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
Back
Top