Database Abstraction Layer for PHP

User Tools

Site Tools


Upgrading From V1 ADOdb Session Handling

The Improved Session Handler

In ADOdb 4.91, we added a new session handler, in adodb-session2.php. It features the following improvements:

  • Fully supports server farms using a new database table format. The previous version used the web server time for timestamps, which can cause problems on a system with multiple web servers with possibly inconsistent times.
  • The new version uses the database server time instead for all timestamps.
  • The older database table format is obsolete. The database table must be modified to support storage of the database server time mentioned above.
  • Also the field named DATA has been changed to SESSDATA. In some databases, DATA is a reserved word.
  • The functions dataFieldName() are syncSeconds() are obsolete.
v5/session/version1.txt · Last modified: 2016/01/13 01:57 by mnewnham