Bug #74847 [Opn->Fbk]: strange session encoded
Edit report at https://bugs.php.net/bug.php?id=74847&edit=1
ID: 74847
Updated by: cmb@php.net
Reported by: aurelien at esysteme dot com
Summary: strange session encoded
-Status: Open
+Status: Feedback
Type: Bug
Package: Session related
Operating System: Redhat 6.9
PHP Version: 5.6.30
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Does this still happen with any of the actively supported PHP
versions[1]?
[1] <http://php.net/supported-versions.php>
Previous Comments:
------------------------------------------------------------------------
[2017-07-03 12:42:20] 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);
}
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=74847&edit=1
Thread (3 messages)