perl clear cache
Posted on 2003-11-05
I am working on a project that generates financial reports for a set of companies using perl and apache on linux. The problem that i'm facing is that the pages are cached and therefor if i call a report for clent A,the details of client B are displayed.
I have tried putting the foll:
my $month = param('month');
use lib '/var/www/cgi-bin';
use CGI qw(:standard);
use CGI::Carp qw(fatalsToBrowser);
print start_html('Client A Report');
print"<meta http-equiv=expires content=0> ";
print"<META HTTP-EQUIV=pragma CONTENT=no-cache> ";
print "<table border=1 cellpadding=1 cellspacing=1 bgcolor=white>";
But this is not helping me. If I hit ctrl-F5 the correct data is dislayed,but obviously i cant ask my clent to do the same.