[cvs] commit: framework/SessionHandler SessionHandler.php package.xml framework/SessionHandler/SessionHandler dbm.php ldap.php memcache.php mysql.php oci8.php pgsql.php sql.php
Michael M Slusarz
slusarz at horde.org
Fri Dec 7 08:38:35 UTC 2007
slusarz 2007-12-07 03:38:35 EST
Modified files:
SessionHandler SessionHandler.php package.xml
SessionHandler/SessionHandler dbm.php ldap.php memcache.php
mysql.php oci8.php pgsql.php
sql.php
Log:
Make open() and close() wrappers around private functions - allows us to
track connected status in the base class and consolidate error logging.
More important, implement a mechansim that prevents session timeouts. The
recent sessionhandler changes that only write session data when it changes
sometimes works *too* well. For example, an application that does
regular polling (i.e. dimp and poll folders) will not cause the session
timeout to refresh unless new mail arrives. Thus, if left running in the
background for the max lifetime (default is 1440 seconds = 24 mins) and no
newmail arrives, the session will timeout.
Revision Changes Path
1.39 +82 -13 framework/SessionHandler/SessionHandler.php
1.19 +8 -4 framework/SessionHandler/SessionHandler/dbm.php
1.8 +11 -8 framework/SessionHandler/SessionHandler/ldap.php
1.17 +15 -19 framework/SessionHandler/SessionHandler/memcache.php
1.42 +9 -11 framework/SessionHandler/SessionHandler/mysql.php
1.28 +8 -9 framework/SessionHandler/SessionHandler/oci8.php
1.36 +8 -8 framework/SessionHandler/SessionHandler/pgsql.php
1.46 +9 -11 framework/SessionHandler/SessionHandler/sql.php
1.29 +1 -1 framework/SessionHandler/package.xml
Chora Links:
http://cvs.horde.org/diff.php/framework/SessionHandler/SessionHandler.php?r1=1.38&r2=1.39&ty=u
http://cvs.horde.org/diff.php/framework/SessionHandler/SessionHandler/dbm.php?r1=1.18&r2=1.19&ty=u
http://cvs.horde.org/diff.php/framework/SessionHandler/SessionHandler/ldap.php?r1=1.7&r2=1.8&ty=u
http://cvs.horde.org/diff.php/framework/SessionHandler/SessionHandler/memcache.php?r1=1.16&r2=1.17&ty=u
http://cvs.horde.org/diff.php/framework/SessionHandler/SessionHandler/mysql.php?r1=1.41&r2=1.42&ty=u
http://cvs.horde.org/diff.php/framework/SessionHandler/SessionHandler/oci8.php?r1=1.27&r2=1.28&ty=u
http://cvs.horde.org/diff.php/framework/SessionHandler/SessionHandler/pgsql.php?r1=1.35&r2=1.36&ty=u
http://cvs.horde.org/diff.php/framework/SessionHandler/SessionHandler/sql.php?r1=1.45&r2=1.46&ty=u
http://cvs.horde.org/diff.php/framework/SessionHandler/package.xml?r1=1.28&r2=1.29&ty=u
More information about the cvs
mailing list