RE: session extension
| From: | Harald Radi | Date: | Thu, 06 Dec 2001 18:05:19 +0000 |
| Subject: | RE: session extension | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-72767@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
actually it isn't a resource but an object implementing __sleep and __wakeup. so technically
there should be no problem. i'd only need a __destroy callback or sg. similar.
harald
> -----Original Message-----
> From: Andrei Zmievski [mailto:andrei@ispi.net]
> Sent: Thursday, December 06, 2001 7:03 PM
> To: Harald Radi
> Cc: sascha@schumann.cx; php-dev@lists.php.net
> Subject: Re: session extension
>
>
> On Thu, 06 Dec 2001, Harald Radi wrote:
> >
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > hi,
> >
> > do you think of a possibility to add something like the
> > zend_register_list_destructors() mechanism into your
> session extension
> > to register session destructors for resources ? i'd like to
> implement
> > an interface to store COM, CORBA and Java instances in the session.
> > any clue ?
>
> I think the bigger problem is that serialize() does not
> support resources at all. Sascha, can you think of any way we
> could possibly serialize the resources?
>
> -Andrei
> * Black holes are where God divided by zero. *
>
-----BEGIN PGP SIGNATURE-----
Version: PGP 7.0.4
iQA/AwUBPA+zXq1+myS9SSHxEQIcnwCgs/nNdKDoNxd/pmTkXIOSCyZGrDkAmweg
JOeJwYomGQhPPvLbwSMjq/7N
=LUsQ
-----END PGP SIGNATURE-----