Bug #66469 [Csd]: PHP creates two session ids when using strict mode

From: Date: Wed, 22 Jan 2014 05:00:39 +0000
Subject: Bug #66469 [Csd]: PHP creates two session ids when using strict mode
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-183947@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=66469&edit=1

 ID:                 66469
 Updated by:         yohgaki@php.net
 Reported by:        oz at zend dot com
 Summary:            PHP creates two session ids when using strict mode
 Status:             Closed
 Type:               Bug
 Package:            Session related
 Operating System:   All
 PHP Version:        5.5.8
 Assigned To:        yohgaki
 Block user comment: N
 Private report:     N

 New Comment:

Modified code so that it replaces old session cookie.
Users should not send session cookie by themselves anyway.
Replacement is required, since user may call session_regenerated_id().

Could you try it again?


Previous Comments:
------------------------------------------------------------------------
[2014-01-22 04:51:24] yohgaki@php.net

Automatic comment on behalf of yohgaki
Revision: http://git.php.net/?p=php-src.git;a=commit;h=383423a1ee356b102563100e99e147ce8da996c3
Log: Re-fixed bug #66469

------------------------------------------------------------------------
[2014-01-22 04:51:05] yohgaki@php.net

Automatic comment on behalf of yohgaki
Revision: http://git.php.net/?p=php-src.git;a=commit;h=383423a1ee356b102563100e99e147ce8da996c3
Log: Re-fixed bug #66469

------------------------------------------------------------------------
[2014-01-22 04:51:00] yohgaki@php.net

Automatic comment on behalf of yohgaki
Revision: http://git.php.net/?p=php-src.git;a=commit;h=383423a1ee356b102563100e99e147ce8da996c3
Log: Re-fixed bug #66469

------------------------------------------------------------------------
[2014-01-22 04:50:47] yohgaki@php.net

Automatic comment on behalf of yohgaki
Revision: http://git.php.net/?p=php-src.git;a=commit;h=a27e51fd4e9121f962821d0f7bd1960fce0a0fd5
Log: Re-fixed bug #66469

------------------------------------------------------------------------
[2014-01-21 09:18:16] yohgaki@php.net

Looks like I have to modify code so that session module calls 

 php_session_reset_id(TSRMLS_C);

only once. Reopened.

------------------------------------------------------------------------


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=66469


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=66469&edit=1


Thread (7 messages)

« previous php.bugs (#183947) next »