Update of /cvsroot/phpwebapp/web_app/session
In directory sc8-pr-cvs1:/tmp/cvs-serv4302/session
Modified Files:
wbSession.html class.Request.php
Log Message:
Index: wbSession.html
===================================================================
RCS file: /cvsroot/phpwebapp/web_app/session/wbSession.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** wbSession.html 16 Jul 2003 09:27:59 -0000 1.2
--- wbSession.html 22 Aug 2003 06:47:20 -0000 1.3
***************
*** 1,13 ****
<WebBox ID="wbSession">
<!--#
! the form that transmits to the server the session vars,
! the event (and event args), the php vars etc.
#-->
<form name="WebAppForm" method="{{method}}" onSubmit="return false;">
! <input type="hidden" name="sourcePage" value="{{sourcePage}}">
! <input type="hidden" name="targetPage" value="">
! <input type="hidden" name="sessionVars" value="">
! <input type="hidden" name="strEvent" value="">
! <input type="hidden" name="phpVars" value="">
</form>
--- 1,13 ----
<WebBox ID="wbSession">
<!--#
! the form that transmits to the server the session vars,
! the event (and event args), the php vars etc.
#-->
<form name="WebAppForm" method="{{method}}" onSubmit="return false;">
! <input type="hidden" name="sourcePage" value="{{sourcePage}}">
! <input type="hidden" name="targetPage" value="">
! <input type="hidden" name="sessionVars" value="">
! <input type="hidden" name="strEvent" value="">
! <input type="hidden" name="phpVars" value="">
</form>
Index: class.Request.php
===================================================================
RCS file: /cvsroot/phpwebapp/web_app/session/class.Request.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** class.Request.php 16 Jul 2003 09:27:59 -0000 1.2
--- class.Request.php 22 Aug 2003 06:47:20 -0000 1.3
***************
*** 11,14 ****
--- 11,15 ----
var $strEvent;
var $phpVars;
+ var $firstTime; //if true, then this page is the first in the session
function Request()
***************
*** 26,29 ****
--- 27,31 ----
$this->phpVars = ( isset($browser_vars["phpVars"]) ?
$browser_vars["phpVars"] : UNDEFINED );
+ $this->firstTime = ($this->targetPage==UNDEFINED ? true : false);
}
}
|