Commit 2a3aea51 authored by Mike Sheldon's avatar Mike Sheldon

Don't set any pragma headers

parent 05a3ab48
......@@ -52,14 +52,12 @@ if (isset($_COOKIE['session_id'])) {
}
header("Cache-Control:no-cache");
header("Pragma: no-cache");
header("Expires = -1");
} else {
$seconds_to_cache = 3600;
$ts = gmdate("D, d M Y H:i:s", time() + $seconds_to_cache) . " GMT";
header("Expires: $ts");
header("Pragma: no-cache");
header("Cache-Control: max-age=$seconds_to_cache");
setcookie('lang', '', time() - 3600);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment