php.net |  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: yohgaki@php.net Assigned: yohgaki (profile)
Status: Closed Package: Session related
PHP Version: 7.0Git-2015-09-16 (Git) OS: Irrelevant
Private report: No CVE-ID: None
 [2015-09-16 20:18 UTC] yohgaki@php.net
Description:
------------
session_regenerate_id() does not send session ID cookie in PHP 7.0.0 RC3.


Test script:
---------------
<?php
//Need Web server SAPI
session_start();
var_dump(headers_list());
session_regenerate_id();
var_dump(headers_list());


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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

commit 286b157a5fe8ac40051105ec7caa06cbf626c1dc
Author: Remi Collet <remi@php.net>
Date:   Wed Sep 16 14:32:05 2015 +0200

    fix regressio introduce in 22e23e7cb8ca9aa134d138b5fed031af6c842b44
 [2015-09-16 20:57 UTC] yohgaki@php.net
The test

commit 8518d8a4d2fb5ee02caa5f12bc4f49dcab0a798e
Merge: 6976231 e341eb9
Author: Yasuo Ohgaki <yohgaki@php.net>
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: Fri Sep 18 17:01:53 2020 UTC