Re: PHP 4.0 Bug #4864 Updated: session_destroy() is supposed to always return TRUE, but returns false.

From: Date: Tue, 04 Jul 2000 16:33:59 +0000
Subject: Re: PHP 4.0 Bug #4864 Updated: session_destroy() is supposed to always return TRUE, but returns false.
Groups: php.dev 
Request: Send a blank email to php-dev+get-23478@lists.php.net to get a copy of this message
> session_destroy returns void. The manual has been fixed. > > Full Bug description available at: http://bugs.php.net/version4/?id=4864 > Well, I recently submitted a patch to Sascha Schumann (sascha@schumann.cx) that fixes session_destroy() so that it returns TRUE if destroying the session data succeeds, and FALSE if the session data could not be destroyed (like if unlink()ing the file fails). I was under the impression that Sascha accepted my patch, and if so then the current change to the manual should actually be changed once again to reflect the new behaviour. My patch is available from this page: http://jesper.staff.groundcontrol.dk/php_session_destroy_patch.php Best regards, Jesper Juhl juhl@eisenstein.dk

« previous php.dev (#23478) next »