Session fix ported from stable, should fix DMN plugin, and prev/next links
authorjangliss <jangliss@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 29 Nov 2002 20:01:33 +0000 (20:01 +0000)
committerjangliss <jangliss@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 29 Nov 2002 20:01:33 +0000 (20:01 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4199 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/global.php

index c50f154..ee8478e 100644 (file)
@@ -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) {