voku / session2db

:crown: Session2DB - A drop-in replacement for PHP's default session handler which stores session data in a MySQL database, providing both better performance and better security and protection against session fixation and session hijacking.
GNU Lesser General Public License v3.0
29 stars 7 forks source link

Fix php old #10

Closed djschilling closed 6 years ago

djschilling commented 6 years ago

This fixes two issues i found testing version 2.1.0.

  1. Session2DB must implement SessionHandlerInterface to work as session implementation
  2. The use of own implementations for the db success were broken.

This change is Reviewable