{"action":"created","issue":{"url":"https://api.github.com/repos/zendframework/zf1/issues/659","repository_url":"https://api.github.com/repos/zendframework/zf1","labels_url":"https://api.github.com/repos/zendframework/zf1/issues/659/labels{/name}","comments_url":"https://api.github.com/repos/zendframework/zf1/issues/659/comments","events_url":"https://api.github.com/repos/zendframework/zf1/issues/659/events","html_url":"https://github.com/zendframework/zf1/issues/659","id":122110767,"number":659,"title":"session_regenerate_id() issue on PHP7","user":{"login":"driesdroesbeke","id":600439,"avatar_url":"https://avatars.githubusercontent.com/u/600439?v=3","gravatar_id":"","url":"https://api.github.com/users/driesdroesbeke","html_url":"https://github.com/driesdroesbeke","followers_url":"https://api.github.com/users/driesdroesbeke/followers","following_url":"https://api.github.com/users/driesdroesbeke/following{/other_user}","gists_url":"https://api.github.com/users/driesdroesbeke/gists{/gist_id}","starred_url":"https://api.github.com/users/driesdroesbeke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/driesdroesbeke/subscriptions","organizations_url":"https://api.github.com/users/driesdroesbeke/orgs","repos_url":"https://api.github.com/users/driesdroesbeke/repos","events_url":"https://api.github.com/users/driesdroesbeke/events{/privacy}","received_events_url":"https://api.github.com/users/driesdroesbeke/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/zendframework/zf1/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/zendframework/zf1/labels/php7","name":"php7","color":"8892BF"},{"url":"https://api.github.com/repos/zendframework/zf1/labels/Zend_Session","name":"Zend_Session","color":"008000"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2015-12-14T19:18:22Z","updated_at":"2016-09-05T08:06:16Z","closed_at":null,"body":"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.\r\n\r\n```PHP\r\n$session_handler = new Zend_Session_SaveHandler_DbTable ( $configSessionHandler );\r\nZend_Session::setSaveHandler ( $session_handler );\r\n\r\nIf (! Zend_Session::sessionExists ()) {\r\n     Zend_Session::rememberMe ( $seconds );\r\n     Zend_Session::start ( $config );\r\n}\r\n```\r\n\r\nThe rememberMe method calls self::regenerateId() wich causes the following error on PHP7\r\n\r\n```\r\nPHP Warning:  session_regenerate_id(): Session object destruction failed.  ID: user (path: /var/lib/php/sessions)\r\n```"},"comment":{"url":"https://api.github.com/repos/zendframework/zf1/issues/comments/244683516","html_url":"https://github.com/zendframework/zf1/issues/659#issuecomment-244683516","issue_url":"https://api.github.com/repos/zendframework/zf1/issues/659","id":244683516,"user":{"login":"fewspider","id":3256161,"avatar_url":"https://avatars.githubusercontent.com/u/3256161?v=3","gravatar_id":"","url":"https://api.github.com/users/fewspider","html_url":"https://github.com/fewspider","followers_url":"https://api.github.com/users/fewspider/followers","following_url":"https://api.github.com/users/fewspider/following{/other_user}","gists_url":"https://api.github.com/users/fewspider/gists{/gist_id}","starred_url":"https://api.github.com/users/fewspider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fewspider/subscriptions","organizations_url":"https://api.github.com/users/fewspider/orgs","repos_url":"https://api.github.com/users/fewspider/repos","events_url":"https://api.github.com/users/fewspider/events{/privacy}","received_events_url":"https://api.github.com/users/fewspider/received_events","type":"User","site_admin":false},"created_at":"2016-09-05T08:06:16Z","updated_at":"2016-09-05T08:06:16Z","body":"some problem\r\n![2016-09-05 16 06 04](https://cloud.githubusercontent.com/assets/3256161/18241252/ab0fb8e0-7382-11e6-8ed1-07f288018d2d.png)\r\n"}}
{"actor":{"display_login":"fewspider"}}