Update of /cvsroot/phpwebapp/web_app/session
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1796/session
Modified Files:
class.Session.php
Log Message:
Index: class.Session.php
===================================================================
RCS file: /cvsroot/phpwebapp/web_app/session/class.Session.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** class.Session.php 22 Jul 2004 16:25:37 -0000 1.11
--- class.Session.php 20 Sep 2004 13:28:06 -0000 1.12
***************
*** 211,216 ****
if (isset($this->dbVars[$var_name]))
{
! $msg ="Session::addVar(): DB var '$var_name' already exists.";
! print WebApp::warning_msg($msg);
}
if (isset($this->Vars[$var_name]))
--- 211,216 ----
if (isset($this->dbVars[$var_name]))
{
! //this variable is already initialized
! return;
}
if (isset($this->Vars[$var_name]))
***************
*** 230,235 ****
if (isset($this->Vars[$var_name]))
{
! $msg = "Session::addVar(): JS var '$var_name' already exists.";
! print WebApp::warning_msg($msg);
}
$this->Vars[$var_name] = $var_value;
--- 230,235 ----
if (isset($this->Vars[$var_name]))
{
! //this variable is already initialized
! return;
}
$this->Vars[$var_name] = $var_value;
|