> > 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
-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 ob
> > 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.