-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> You mean, when the session is destroyed it should call 
> __destroy_callback?

exactly.

> Anyways, don't those objects store a resource handle in their 
> properties?


"The magic functions __sleep and __wakeup

serialize() checks if your class has a function with the magic name __sleep. If so, 
that function is being run prior to any serialization. It can clean up the object and 
is supposed to return an array with the names of all variables of that object that 
should be serialized."

i intended to handle the resources by myself and return only an unique identifier to 
the session. so the session extension won't ever see a resource. do you see a problem 
so far ?

harald

-----BEGIN PGP SIGNATURE-----
Version: PGP 7.0.4

iQA/AwUBPA+2F61+myS9SSHxEQJhngCfV0A+50aYesZGE7vQA1eNqz4XmgUAnjPC
Z7gRZnGnTs/gou61s8KY7iWQ
=RQy+
-----END PGP SIGNATURE-----


--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to