Force no cache on generated content to prevent hilarious problems.

This commit is contained in:
Chris 2013-08-14 17:05:04 +01:00
parent bad7be85c9
commit 04fac1a2e0

View File

@ -263,7 +263,9 @@ sub run {
my $content = $pageobj -> page_display();
print $self -> {"cgi"} -> header(-charset => 'utf-8',
-cookie => $self -> {"session"} -> session_cookies());
-cookie => $self -> {"session"} -> session_cookies(),
-expires => "now",
-Cache_Control => "no-cache");
$self -> {"endtime"} = time();
my ($user, $system, $cuser, $csystem) = times();