> -----Original Message----- > From: Kipp, James [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, December 04, 2002 4:16 PM > To: [EMAIL PROTECTED] > Subject: Help with Auto Refresh > > > Hi > I have a simple cgi that prints some system stats. I am > trying to get the > page to refresh itself every 15 seconds. I am using the cgi > module and tried > loading meta tags in the header but with everything i try it > either does not > work or errors. i tried the techniques in the cgi.pm docs but > can't get it > to work. What is a good way to do this using cgi.pm ?
print $q->header(-refresh => 15); Refresh is a response header. You only need META HTTP-EQUIV when you aren't generating the response dyamically, but just writing a static HTML page. The refresh itself is controlled by the client, so the browser needs to support the Refresh header. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]