Bug #74847 [NEW]: strange session encoded

From: Date: Mon, 03 Jul 2017 12:42:26 +0000
Subject: Bug #74847 [NEW]: strange session encoded
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-209788@lists.php.net to get a copy of this message
From:             aurelien at esysteme dot com
Operating system: Redhat 6.9
PHP version:      5.6.30
Package:          Unknown/Other Function
Bug Type:         Bug
Bug description:strange session encoded

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 bug report at https://bugs.php.net/bug.php?id=74847&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=74847&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=74847&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=74847&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=74847&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=74847&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=74847&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=74847&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=74847&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=74847&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=74847&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=74847&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=74847&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=74847&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=74847&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=74847&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=74847&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=74847&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=74847&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=74847&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=74847&r=mysqlcfg



Thread (3 messages)

« previous php.bugs (#209788) next »