note 5023 deleted from session_destroy by ronabop
| From: | ronabop@php.net | Date: | Fri, 18 Aug 2000 03:32:19 +0000 |
| Subject: | note 5023 deleted from session_destroy by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-2273@lists.php.net to get a copy of this message | ||
If I run the following code with an active session that has registered elements :
<PRE>
if (session_destroy()) {
echo "session destroyed<BR>";
} else {
echo "session not destroyed<BR>";
}
</PRE>
what gets displayed is :
<PRE>
session not destroyed
</PRE>
This would indicate that the session_destroy() function is returning false. Am I missing something?