php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22175 session_decode does not work
Submitted: 2003-02-11 14:18 UTC Modified: 2003-06-30 19:31 UTC
Votes:13
Avg. Score:4.7 ± 0.7
Reproduced:7 of 8 (87.5%)
Same Version:4 (57.1%)
Same OS:5 (71.4%)
From: michel at ziobudda dot net Assigned:
Status: Closed Package: Session related
PHP Version: 5CVS-2003-02-11 (dev) OS: Linux Redhat 8.0
Private report: No CVE-ID: None
 [2003-02-11 14:18 UTC] michel at ziobudda dot net
There is a problem with session_decode and PHP5. 
The script at url

PHP4: http://www.ziobudda.net/test/session4-2.php (.phps for the source) 
PHP5: http://www.ziobudda.net:81/test/session4-2.php

works with PHP4.3.0, but does not work with PHP5. 
Does not work because session_decode does not populate the $_SESSION[] array.

register_global=on and off is identical.

Tnx in advance.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-02-11 14:20 UTC] michel at ziobudda dot net
I intend PHP5 from 10 Feb 2003's cvs.
Sorry.
 [2003-02-11 15:25 UTC] sniper@php.net
Can you please provide a _short_ example script?
And without the mysql stuff..

 [2003-02-11 15:52 UTC] michel at ziobudda dot net
Sure, you can find the script for

PHP4 (it works): http://www.ziobudda.net/test/session4-3.php (.phps for the source)

PHP5 (not work): http://www.ziobudda.net:81/test/session4-3.php
 [2003-06-11 02:27 UTC] michel at ziobudda dot net
Hi, you have give me php4-STABLE-latest.tar.gz link. But the error is for PHP5.  In php4 there is no error.

Bye.
 [2003-06-11 02:41 UTC] derick@php.net
Go to http://snaps.php.net , it has a PHP 5 snapshot too.

Derick
 [2003-06-17 14:59 UTC] michel at ziobudda dot net
I have tried with PHP5 CVS version 17 Jun 2003 and the error persist.

bye
 [2003-06-30 19:31 UTC] sterling@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jun 22 09:01:31 2025 UTC