Exuro is correct in that if the person is viewing a cached version of your page, it won't pick up the coding to autorefresh. However you do have the following solutions available to you:
- Place the below code in your meta tags
<META HTTP-EQUIV="refresh" CONTENT="300">
This will refresh the page every 5 minutes, however again as mentioned above, if the user is viewing a cached page prior to adding this code, it will not work for them. As well it could be annoying if someone were to be on the page for more than 10 minutes and would not take effect till the first 5 minuites was up. Probably not the best solution for you.
- You could also offer a refresh button on the screen letting the user know there may be updated content. When they click the button , it would refresh the screen. See below for code
<INPUT TYPE="button" onClick="history.go(0)" VALUE="Refresh">
Again, the same applies to a person viewing a previously cached page. But better than option 1.
- Depending on your comfortability, skill level and accessibility, if you convert your pages to .asp (active server protocol), then each time your page is viewed it will automatically call for the pages from the server, regardless fo the users cached memory.
To do this, your server must of course support asp, and you will need to learn a little about how to change your code. (Not much really)
This latter is the best of the 3 options, but as mentioned requires the server support of asp.
See the following url for more info on options 1 & 2