Re: PHP 4.0 Bug #7844: object inside a session registeredobject is not restored correctly
| From: | Michael Haertl | Date: | Thu, 16 Nov 2000 16:06:05 +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-38348@lists.php.net to get a copy of this message | ||
> >
> > 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.