|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-03-22 14:27 UTC] david at grudl dot com
[2012-03-25 21:00 UTC] riptide dot tempora at opinehub dot com
[2012-03-27 16:23 UTC] david at grudl dot com
[2012-03-28 08:02 UTC] yohgaki@php.net
-Status: Open
+Status: Assigned
-Operating System: Windows 7 x64
+Operating System: ANY
-Assigned To:
+Assigned To: yohgaki
[2012-03-28 08:02 UTC] yohgaki@php.net
[2012-05-24 21:19 UTC] chris at netshake dot de
[2014-10-26 23:41 UTC] webmaster at tubo-world dot de
[2014-10-27 00:14 UTC] yohgaki@php.net
[2014-10-29 01:41 UTC] webmaster at tubo-world dot de
[2014-10-29 03:53 UTC] david at grudl dot com
[2014-10-29 06:44 UTC] yohgaki@php.net
[2014-10-29 06:46 UTC] yohgaki@php.net
[2014-10-29 10:57 UTC] webmaster at tubo-world dot de
[2015-02-02 09:43 UTC] yohgaki@php.net
-Status: Assigned
+Status: Closed
[2015-02-02 09:43 UTC] yohgaki@php.net
[2015-02-02 22:26 UTC] webmaster at tubo-world dot de
[2015-02-03 03:24 UTC] yohgaki@php.net
[2016-07-20 11:39 UTC] davey@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 05:00:01 2025 UTC |
Description: ------------ session_start() creates and locks session file, but session_regenerate_id() doesn't do it. After session_regenerate_id() session is started with new ID, but the file is not created immediately (is created when session is closed) and therefore is not locked. I think this causes bugs like #49462. Test script: --------------- $path = ini_get('session.save_path') . '/sess_'; session_start(); // starts session & creates and locks file echo is_file($path . session_id()); // -> TRUE session_regenerate_id(); // starts new session, but file is not create! echo is_file($path . session_id()); // -> FALSE