Commit 9ab9a3e2 authored by Mike Sheldon's avatar Mike Sheldon

Explicitly set pragma to no-cache

parent e181ecb0
......@@ -54,6 +54,7 @@ if (isset($_COOKIE['session_id'])) {
$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