Re: PHP 4.0 Bug #5283: Session support working only in the php beta version.

From: Date: Thu, 29 Jun 2000 11:38:17 +0000
Subject: Re: PHP 4.0 Bug #5283: Session support working only in the php beta version.
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-22741@lists.php.net to get a copy of this message
Objects in sessions worked for me up to 4.0.0 release. 4.0.1 breaks this however. Complains that stdClass needs to be defined before calling session_start(). Pain in the butt considering mysql_fetch_object() returns a stdClass. <tite@wolstudios.com> wrote in message news:20000630105451.3132.qmail@php2.chek.com... > From: tite@wolstudios.com > Operating system: SuSe 6.4 > PHP version: 4.0.0 Release > PHP Bug Type: Session related > Bug description: Session support working only in the php beta version. > > 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? > > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.dev (#22741) next »