note 39040 deleted from function.session-destroy by didou

From: Date: Thu, 15 Jan 2004 11:27:57 +0000
Subject: note 39040 deleted from function.session-destroy by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-63596@lists.php.net to get a copy of this message
Note Submitter: Ahring.de ---- I got a "Warning: session_destroy(): Session object destruction failed in logout.php on line 42" when using session_destroy(). It turned out this happened due to an earlier call to session_regenerate_id() in an included script, which checks for a login cookie and issues the session_regenerate_id() for every new login. This is probably a bug or not documented special case. Hope to save you the time searching for this.

« previous php.notes (#63596) next »