PDA

View Full Version : I beg for HTML Help.



Shanaria Fabool
Nov 28th, 2003, 11:34:47 AM
Does anybody know if there is a way to make an HTML page refresh on it's own when it is acessed? I'm writing a Guestbook in the language Perl, that writes to an HTML file, for a website and I got it doing most of what I want it to do, But when I submit the new post to the guestbook I have to click the refresh button before I can see any changes on the HTML page.

So is there any one out there that can tell me how I can get it to refresh on it's own?

TheHolo.Net
Nov 28th, 2003, 03:28:16 PM
You could try adding "no-cache" headers in the "HEAD" section of the HTML:

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

Shanaria Fabool
Nov 28th, 2003, 03:37:50 PM
Thanks I'll try that!