|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31166 Session Corruption of certain vars
Submitted: 2004-12-18 01:02 UTC Modified: 2004-12-28 01:00 UTC
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: jeffb at gpscity dot com Assigned:
Status: No Feedback Package: Session related
PHP Version: 4.3.9 OS: Red Hat Linux release 7.2 (NTT/V
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2004-12-18 01:02 UTC] jeffb at gpscity dot com
I.m running:
- PHP 4.3.9
- Apache 1.3.33
- Red Hat Linux release 7.2 (NTT/VERIO EWH)

Some session variable values are getting written in the session file as "spacer".  Yet all other variables are getting written correctly!  When i set the session var & print out the $_SESSION array, it is showing the value of the variable exactly as I set it. i.e.  I'm setting SKU to one of our valid SKU's:
$_SESSION['SKU'] = "iway500c";
    [mycountry] => USA
    [mainhost] => localhost
    [environment] => local
    [SKU] => iway500c

but in the session file written in /tmp it gets saved like this:

I can change the name of the var to SKU2 or even my initials(JB), & even the value to a different sku such as sp2620, but it always gets saved as spacer, no matter what!!!

Any response would be appreciated?

Jeff Brown


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-12-18 03:50 UTC]
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc.

If possible, make the script source available online and provide
an URL to it here. Try avoid embedding huge scripts into the report.

 [2004-12-28 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sun Sep 24 20:01:25 2023 UTC