Re: Session files never destroyed with PHP4.0.2

From: Date: Wed, 30 Aug 2000 15:49:00 +0000
Subject: Re: Session files never destroyed with PHP4.0.2
References: 1  Groups: php.db php.general 
Request: Send a blank email to php-general+get-14413@lists.php.net to get a copy of this message
> I use PHP4 session mechanism and, when I make a call to "session_destroy()" > function an error occurs (Session object destruction failed) and the session > files on the server side are never destroyed... I have the same problem -- only PHP gives me no error. When my user clicks a "Log out" button, I do 'session_unregister()' for each session variable, and then I do 'session_destory()'. None of it works; no variables are unregistered, and the session is not destroyed. I can't help except to suggest using 'session_unregister()' for all your session variables. If you find a solution, let me know. Dean Hall.

« previous php.general (#14413) next »