> > 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 information and release it. __wakeup would be out of 
>context too, so i have the same issue but this can be handled, thats not the problem.

Why not simply create your own session handler functions then and call 
your destructor code from the 'destroy' function?  See 
php.net/session_set_save_handler

-Rasmus


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