[phpwebapp-commits] CVS: web_app/session class.Session.php,1.6,1.7 class.Request.php,1.5,1.6
Brought to you by:
dashohoxha
From: Dashamir H. <das...@us...> - 2003-09-09 00:29:16
|
Update of /cvsroot/phpwebapp/web_app/session In directory sc8-pr-cvs1:/tmp/cvs-serv17598/session Modified Files: class.Session.php class.Request.php Log Message: Index: class.Session.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/session/class.Session.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** class.Session.php 25 Aug 2003 13:18:31 -0000 1.6 --- class.Session.php 8 Sep 2003 13:18:23 -0000 1.7 *************** *** 41,46 **** $this->dbVars = array(); ! $sessVars = $request->sessionVars; ! if ($sessVars==UNDEFINED ) { //new session --- 41,45 ---- $this->dbVars = array(); ! if ($request->firstTime) { //new session *************** *** 49,53 **** else { ! $this->getVars($sessVars); $this->getDBVars(); } --- 48,52 ---- else { ! $this->getVars($request->sessionVars); $this->getDBVars(); } Index: class.Request.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/session/class.Request.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** class.Request.php 25 Aug 2003 13:18:31 -0000 1.5 --- class.Request.php 8 Sep 2003 13:18:23 -0000 1.6 *************** *** 33,37 **** var $phpVars; ! /** If true, then this page is the first in the session. */ var $firstTime; --- 33,37 ---- var $phpVars; ! /** Is true only for the first page in the session. */ var $firstTime; |