Re: [PHP-DEV] RE: session extension

2001-12-06 Thread rasmus
You mean, when the session is destroyed it should call __destroy_callback? exactly. But how would you specify where this code is? Sessions are destroyed out of context. ie. a session is not necessarily destroyed by anything even remotely resembling the script that created them. And a

RE: [PHP-DEV] RE: session extension

2001-12-06 Thread Harald Radi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 But how would you specify where this code is? Sessions are destroyed out of context. ok, a __destroy method implies that the method is bound to the object, but i was thinking of a static method that gets the session information for the

RE: [PHP-DEV] RE: session extension

2001-12-06 Thread Rasmus Lerdorf
But how would you specify where this code is? Sessions are destroyed out of context. ok, a __destroy method implies that the method is bound to the object, but i was thinking of a static method that gets the session information for the object and can obtain the instance with this