From: jangliss Date: Fri, 29 Nov 2002 20:01:33 +0000 (+0000) Subject: Session fix ported from stable, should fix DMN plugin, and prev/next links X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=3658a9997eba0d86235f104b8aea2c827877f520;p=squirrelmail.git Session fix ported from stable, should fix DMN plugin, and prev/next links git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4199 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/global.php b/functions/global.php index c50f154c..ee8478e5 100644 --- a/functions/global.php +++ b/functions/global.php @@ -85,6 +85,7 @@ function sqsession_register ($var, $name) { else { $_SESSION["$name"] = $var; } + session_register("$name"); } function sqsession_unregister ($name) { @@ -95,6 +96,7 @@ function sqsession_unregister ($name) { else { unset($_SESSION[$name]); } + session_unregister("$name"); } function sqsession_is_registered ($name) {