session_destroy() fails...
| From: | Tobias Talltorp | Date: | Fri, 02 Mar 2001 00:25:23 +0000 |
| Subject: | session_destroy() fails... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-42251@lists.php.net to get a copy of this message | ||
I am looking into sessions at the moment and havn´t got it all working
properly to continue my journey.
I´m having problem with the session_destroy(), and after some searching in
the archive, I found out that other people have had this problem aswell, but
I didn´t find a fix...
Here is the error message I get:
Warning: Session object destruction failed in
E:\Inetpub\wwwroot\testscript\sessions\test.php on line 5
Here is my code:
<?php
session_start();
session_register("value");
session_unregister("value");
session_destroy();
?>
Is this error caused by php.ini, my webserver or other?
My configuration:
IIS 5 for Win2k
PHP 4.0.3 PL 1
Thanks
// Tobbe