Re: PHP 4.0 Bug #7844: object inside a session registeredobject is not restored correctly
| From: | Ignacio Vazquez-Abrams | Date: | Thu, 16 Nov 2000 16:32:35 +0000 |
| Subject: | Re: PHP 4.0 Bug #7844: object inside a session registeredobject is not restored correctly | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-38354@lists.php.net to get a copy of this message | ||
On Thu, 16 Nov 2000, Michael Haertl wrote:
>
> > >
> > > session_register("a");
> > >
> > > if (! is_object($a) ) {
> > > $a = new myclass;
> > > }
> > >
> > > $a->show();
> > >
> > > ?>
> > > <br>
> > > <a href="index.php">reload</a>
> > > ?>
> > >
> >
> > Try the following:
> >
> > ...
> > $a=new myclass;
> > session_register("a");
> > ...
>
> Nope, doesn't solve my problem at all. Got the same error-msg.
>
Is session.auto_start in php.ini on?
--
Ignacio Vazquez-Abrams <ignacio@openservices.net>