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: -
From: aurelien at esysteme dot com Assigned:
Status: Open Package: Unknown/Other Function
PHP Version: 5.6.30 OS: Redhat 6.9
Private report: No CVE-ID:
Have you experienced this issue?
Rate the importance of this bug to you:

 [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

 
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Tue Aug 29 15:01:52 2017 UTC