[pLog-svn] r1647 - plog/trunk/class/net/http/session

ork at devel.plogworld.net ork at devel.plogworld.net
Wed Mar 30 17:16:12 GMT 2005


Author: ork
Date: 2005-03-30 17:16:11 +0000 (Wed, 30 Mar 2005)
New Revision: 1647

Modified:
   plog/trunk/class/net/http/session/sessionmanager.class.php
Log:
added another check


Modified: plog/trunk/class/net/http/session/sessionmanager.class.php
===================================================================
--- plog/trunk/class/net/http/session/sessionmanager.class.php	2005-03-30 17:14:44 UTC (rev 1646)
+++ plog/trunk/class/net/http/session/sessionmanager.class.php	2005-03-30 17:16:11 UTC (rev 1647)
@@ -40,7 +40,7 @@
 			// if there is no session object, we better create one
 			//
 			$session = HttpVars::getSession();
-			if( $session["SessionInfo"] == "" ) {
+			if( array_key_exists("SessionInfo", $session) || $session["SessionInfo"] == "" ) {
 				$session["SessionInfo"] = new SessionInfo();
 				HttpVars::setSession( $session );
 			}		




More information about the pLog-svn mailing list