php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5283 Session support working only in the php beta version.
Submitted: 2000-06-30 06:54 UTC Modified: 2000-07-11 05:24 UTC
From: tite at wolstudios dot com Assigned:
Status: Closed Package: Session related
PHP Version: 4.0.0 Release OS: SuSe 6.4
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: tite at wolstudios dot com
New email:
PHP Version: OS:

 

 [2000-06-30 06:54 UTC] tite at wolstudios dot com
I am passing objects from one php script to anotherone 
using the session support. It seems to be working fine 
on Apache 1.3.6 with php4b3

Those same scripts in a Apache 1.3.12 with Php 4.0 dont work. In fact, no session suport is available.

A file is created in /tmp like this.
-rw-------   1 nobody   nogroup         9 Jun 26 01:31 sess_12bed2b02a7d0c1098ab1a9976cf79f1
with content:
!carrito|

instead of:
carrito|O:8:"stdClass":1:{s:5:"items";a:1:{i:10;i:3;}}
That shows the machine with the Php 4.0b3

The php.ini file is exactly alike from one machine to anotherone.

Any ideas why does this happen?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-11 05:24 UTC] sas at cvs dot php dot net
Handling of serialized objects has been improved considerably in PHP 4.0.1. Please upgrade to the latest version.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 10:01:26 2024 UTC