This is not really a "refresh" in the sense of pressing the "reload" button in your browser. The META tag issues a new GET request to /user/statusdisplay.cgi. If you want to remember values across the page loads, encode them into the target URL:
use strict;
use CGI qw(:standard);
use URI::Escape;
my $referrer = escapeHTML(uri_escape($ENV{REFERRER}));
print <<HTML
<meta HTTP-EQUIV='REFRESH' content='10;url=/user/statusdisplay.cgi?ref
+=$referrer'>
HTML
The Content-Length will be 0 because you don't get the data POSTed anymore. If you want to keep the data POSTed to your first script, you will need to store it locally and pass a hint to your refresh page. |