php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #74847 strange session encoded
Submitted: 2017-07-03 12:42 UTC Modified: 2018-10-07 09:37 UTC
From: aurelien at esysteme dot com Assigned: cmb (profile)
Status: No Feedback Package: Session related
PHP Version: 5.6.30 OS: Redhat 6.9
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: aurelien at esysteme dot com
New email:
PHP Version: OS:

 

 [2017-07-03 12:42 UTC] aurelien at esysteme dot com
Description:
------------
PHP version 5.5.27

I don't know where is the problem exactly but when I unserialize session I got somthing strange as :

[PARAMETRES] => PAGE_PARAMETRES[MOIS]=&PAGE_PARAMETRES[CUTOFF_MONTH_YYYYMM]=201704[...]&PAGE_PARAMETRES[ENDING_DATE_WP_BASELINE]=20180331";}i:14;a:3:{s:10:"CDDIALOGUE";s:3:"FF3";s:6:"CDMNTR";s:4:"FF32";s:10:"PARAMETRES";s:3419:"PAGE_PARAMETRES[CDORG]=A00IB

i tried unserialise from many version of php and I have same result, I think I got data unserialized correctly but i don't know why

Test script:
---------------
foreach (glob("/data/www/alstom/session/sess_48hoc3nks0f8fjb4d36hggg0k7") as $filename) {
        echo "$filename occupe " . filesize($filename) . "\n";

        session_destroy();
        session_start();

        session_decode(file_get_contents($filename));
        print_r($_SESSION);

}


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-02-28 22:16 UTC] cmb@php.net
-Package: Unknown/Other Function +Package: Session related
 [2018-09-23 12:45 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2018-09-23 12:45 UTC] cmb@php.net
Does this still happen with any of the actively supported PHP
versions[1]?

[1] <http://php.net/supported-versions.php>
 [2018-10-07 09:37 UTC] cmb@php.net
-Status: Feedback +Status: No Feedback
 [2018-10-07 09:37 UTC] cmb@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 18:01:28 2024 UTC