Doc #70520 [Csd]: session_regenerate_id() "Failed to create session ID" with custom SessionHandler
| From: | yohgaki@php.net | Date: | Tue, 20 Oct 2015 22:34:58 +0000 |
| Subject: | Doc #70520 [Csd]: session_regenerate_id() "Failed to create session ID" with custom SessionHandler | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-12829@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=70520&edit=1
ID: 70520
Updated by: yohgaki@php.net
Reported by: hpdl at oscommerce dot com
Summary: session_regenerate_id() "Failed to create session
ID" with custom SessionHandler
Status: Closed
Type: Documentation Problem
Package: Session related
Operating System: Win10
PHP Version: 7.0.0RC3
Assigned To: yohgaki
Block user comment: N
Private report: N
New Comment:
@jacky
If you have problem with Redis save handler, please file a new bug with short reproducible code.
Previous Comments:
------------------------------------------------------------------------
[2015-10-19 05:11:09] jacky at xsteach dot com
i met the same problem on mac osx with php7RC5. I use yii2 framework with redis as session
storage.It is ok when i install php7RC2, but get error session_regenerate_id(): Failed to create
session ID: user (path: ). Is this issue fixed after RC3?
------------------------------------------------------------------------
[2015-09-19 08:13:02] yohgaki@php.net
@alec
When new Zend Engine is introduced, a bug in session read is introduced.
https://bugs.php.net/bug.php?id=70529
I've fixed this today. If you would like to use "binary" session data like mcrypt
encrypted data, you'll need most recent PHP7 build.
------------------------------------------------------------------------
[2015-09-19 06:44:58] alec at alec dot pl
I've got the same issue. Don't you think the error is misleading or at least gives no clue
about where the issue is?
------------------------------------------------------------------------
[2015-09-19 01:42:41] yohgaki@php.net
New example code is in svn.
------------------------------------------------------------------------
[2015-09-19 01:41:24] yohgaki@php.net
Automatic comment from SVN on behalf of yohgaki
Revision: http://svn.php.net/viewvc/?view=revision&revision=337850
Log: Fixed bug #70520 - Update and improve example code
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=70520
--
Edit this bug report at https://bugs.php.net/bug.php?id=70520&edit=1