Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPEverywhere:
New Improved Yummy ADOdb Session Handler
Aug 03, 2006 @ 17:06:33

New from John Lim today, there's this quick post on PHPEverywhere talking about the new and improved ADOdb session handler.

ADOdb, the database library i maintain, has had support for storing session data in a database for a long time. However there was one limitation that always continued to bug me: the fact that all the PHP servers using database-backed sessions needed to synchronize their times to ensure that the session timers worked properly.

In the latest version of this popular library, his bothersome limitation is gone. The Session2 implementation uses the database server clock to track times.

This requires us to change the database table format used, but that is a small price to pay for the added flexibility. You can read more in the ADOdb session docs.
tagged: adodb database library session data timed server clock adodb database library session data timed server clock

Link:


Trending Topics: