From 1df0f48b2147c3cbc71dc2085de76f5a4432fb6d Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 2 Mar 2007 12:05:17 +0100 Subject: login system fixes... --- backend.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'backend.php') diff --git a/backend.php b/backend.php index 67bdabb56..656dcbf9c 100644 --- a/backend.php +++ b/backend.php @@ -2,11 +2,9 @@ require_once "sessions.php"; require_once "modules/backend-rpc.php"; - header("Cache-Control: no-cache, must-revalidate"); - header("Cache-Control: no-cache, must-revalidate"); - + header("Cache-Control: no-cache, max-age=0, must-revalidate"); header("Pragma: no-cache"); - header("Expires: -1"); + header("Expires: " . gmdate("D, d M Y H:i:s", time()) . " GMT"); /* if ($_GET["debug"]) { define('DEFAULT_ERROR_LEVEL', E_ALL); -- cgit v1.2.3