-----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 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. > 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. this would indeed be a problem, but do you think this would be a reason not to implement functionality ? harald. -----BEGIN PGP SIGNATURE----- Version: PGP 7.0.4 iQA/AwUBPA+5pq1+myS9SSHxEQIpuwCg8cKtE+F+LzcLogj1TthslWbudqYAoNNJ 32ogFMEcKfEghHnShrTL2Kjc =HEn9 -----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]