This repository was archived by the owner on May 16, 2018. It is now read-only.

Description
I have the following code that works on php 5.6 but throws a warning on PHP7. The session is not stored in the db with Zend_Session_SaveHandler_DbTable.
$session_handler = new Zend_Session_SaveHandler_DbTable ( $configSessionHandler );
Zend_Session::setSaveHandler ( $session_handler );
If (! Zend_Session::sessionExists ()) {
Zend_Session::rememberMe ( $seconds );
Zend_Session::start ( $config );
}
The rememberMe method calls self::regenerateId() wich causes the following error on PHP7
PHP Warning: session_regenerate_id(): Session object destruction failed. ID: user (path: /var/lib/php/sessions)