if ($config{sslcookie}) {
print $session->header(-charset => 'utf-8',
- -cookie => $session->cookie(-secure => 1));
+ -cookie => $session->cookie(-httponly => 1, -secure => 1));
} else {
- print $session->header(-charset => 'utf-8');
+ print $session->header(-charset => 'utf-8',
+ -cookie => $session->cookie(-httponly => 1));
}
} #}}}
}
} #}}}
-# Does not need tobe called directly; all errors will go through here.
+# Does not need to be called directly; all errors will go through here.
sub cgierror ($) { #{{{
my $message=shift;