|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #70516 session_regenerate_id() does not send session ID cookie
Submitted: 2015-09-16 20:18 UTC Modified: 2015-09-16 20:57 UTC
From: Assigned: yohgaki (profile)
Status: Closed Package: Session related
PHP Version: 7.0Git-2015-09-16 (Git) OS: Irrelevant
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
36 - 34 = ?
Subscribe to this entry?

 [2015-09-16 20:18 UTC]
session_regenerate_id() does not send session ID cookie in PHP 7.0.0 RC3.

Test script:
//Need Web server SAPI


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2015-09-16 20:18 UTC]
-Assigned To: +Assigned To: yohgaki
 [2015-09-16 20:55 UTC]
-Status: Assigned +Status: Closed
 [2015-09-16 20:55 UTC]
Remi fixed this already.
I added test for it.

commit 286b157a5fe8ac40051105ec7caa06cbf626c1dc
Author: Remi Collet <>
Date:   Wed Sep 16 14:32:05 2015 +0200

    fix regressio introduce in 22e23e7cb8ca9aa134d138b5fed031af6c842b44
 [2015-09-16 20:57 UTC]
The test

commit 8518d8a4d2fb5ee02caa5f12bc4f49dcab0a798e
Merge: 6976231 e341eb9
Author: Yasuo Ohgaki <>
Date:   Thu Sep 17 05:53:00 2015 +0900

    Merge branch 'PHP-7.0'
    * PHP-7.0:
      Add test for #70516 session_regenerate_id() does not send session ID cookie
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sun May 31 21:01:25 2020 UTC