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

 ID:                 65475
 Comment by:         william dot a dot bartlett at gmail dot com
 Reported by:        php at tokumaru dot org
 Summary:            wrong session cookie is generated on
                     session.use_strict_mode
 Status:             Open
 Type:               Bug
 Package:            Session related
 Operating System:   Ubuntu
 PHP Version:        5.5.2
 Block user comment: N
 Private report:     N

 New Comment:

Could not reproduce using Fedora 19 PHP 5.5.1 - possible regression.


Previous Comments:
------------------------------------------------------------------------
[2013-08-19 03:17:03] php at tokumaru dot org

Description:
------------
In the case of session.use_strict_mode = On, a wrong session cookie is 
generated.

Test script:
---------------
<?php
  session_start();
  $_SESSION['msg'] = 'hello';
  echo 'session_id: ' . session_id();

Expected result:
----------------
A valid session cookie is generated.


Actual result:
--------------
A wrong session cookie is generated.

The HTTP Response (Summary):

HTTP/1.1 200 OK
Set-Cookie: PHPSESSID=de3vsil36bfs3829rhnspq0oo7; path=/
Content-Length: 38
Content-Type: text/html

session_id: ocjalnfd088dd90eppb1hr14h3


The Session File:

$ sudo cat /tmp/sess_ocjalnfd088dd90eppb1hr14h3
msg|s:5:"hello";


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



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

Reply via email to