Re: [PHP4BETA] Can't use WDDX as session.serialize_handler
| From: | Andrei Zmievski | Date: | Mon, 20 Dec 1999 16:16:55 +0000 |
| Subject: | Re: [PHP4BETA] Can't use WDDX as session.serialize_handler | ||
| References: | 1 2 3 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-8231@lists.php.net to get a copy of this message | ||
On Mon, 20 Dec 1999, Maurício Santiago de Castro wrote:
> Andrei Zmievski wrote:
>
> > On Mon, 20 Dec 1999, Maurício Santiago de Castro wrote:
> > > Although the manual says I can, I don't seem to be able to make WDDX
> > > (--with-wddx --with-xml) as my session.serialize_handler. After I edit
> > > php.ini, my php pages with session statements go empty. My biggest
> > > interst in this is being able to register objects, is there any other
> > > way to do this using pure php?
> >
> > Yes, regular PHP serializer supports objects. What do you mean by "php
> > pages with session statements go empty"?
> >
> > -Andrei
> > * If it's never finished, you can't prove it doesn't work. *
>
> After re-starting from zero, it worked, but still, how do I get
> objects registerd with the wddx handler? They get registered (i see then in the
> file), but I don't know how to get then back in other pages. Can you help?
session_start() should restore the session. Make sure that the files
that define classes which got serialized are somewhere in your include
path.
-Andrei
* Anything will fit if you push hard enough *