stefangabos / Zebra_Session

A drop-in replacement for PHP's default session handler which stores session data in a MySQL database, providing better performance, better security and protection against session fixation and session hijacking
https://stefangabos.github.io/Zebra_Session/Zebra_Session/Zebra_Session.html
Other
172 stars 85 forks source link

Fix Zebra_Session PHP7 incompatibily #10

Closed LukeUsher closed 8 years ago

LukeUsher commented 8 years ago

Using Zebra_Session with PHP7 causes any page that opens a session to hang without triggering any error messages.

Investigation showed this to be because write was sometimes returning a non-boolean, where the PHP documentation (http://php.net/manual/en/class.sessionhandler.php) states that write MUST return a boolean value.

LukeUsher commented 8 years ago

Turns out this was only partial solution, sorry

bigbreak commented 7 years ago

I wanted to follow up on this and ask if the php7 documented here have been resolved. I just downloaded a copy of Zebra Session and it was working great on php5.6. When the server was updated due to cpanel updates, it is now causing our sessions to hang. I am not able to be sure from the above comments if those issues have been resolved.

George Eivaz