session_destroy() does not work properly

From: Date: Fri, 15 Dec 2000 10:50:30 +0000
Subject: session_destroy() does not work properly
Groups: php.general 
Request: Send a blank email to php-general+get-30489@lists.php.net to get a copy of this message
Hi there! I began writing a set of pages using session. Now that the control pages are finished, I added a page to end the session. The script simply reads: <?php session_start(); // to resume previous session session_unset(); // delete all variables session_destroy(); ?> The problem is, this does not work, it always prints: Warning: Session object destruction failed in f:/server/apache/htdocs/admin/endsession.php on line 4 The session is registered, loaded with varaibles and working. But why can't I destroy it? I'm running Apache 1.314 and PHP4pl1 on Windows 2000. PHP is running as an Apache module. Ned help, fast. Thanx. Hendrik Busch

« previous php.general (#30489) next »