Refreshing the page is quite an old method and is generally a more expensive in terms of bandwidth than simply updating specific parts of your page. The solutions presented here already will do what you want, but you should also try looking into dynamic updates, using AJAX. It's not too hard to grasp. Basically rather than the browser refreshing the entire page, you can use AJAX to request only the data from the web-server that needs updating on the page.
There are plenty of tutorials on AJAX. If you need to support IE6, it can be just a tad more difficult, otherwise it is quite simple. In theory:
- Create an XMLHTTPRequest object.
- Tell it a URL that points to the data that needs updating on your page (it doesn't have to be XML).
- Give the object a function that can process the data when it is received.
- Tell the object to send the request to the server and retrieve the data.