> > 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 whole lot of 
people don't even use PHP to destroy their sessions, they simply have an 
out of context cron job that goes through and cleans up old sessions while 
setting gc_probability to 0.

-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