session_unregister and _destroy ??
| From: | Sviss Cobazor | Date: | Thu, 14 Mar 2002 10:17:11 +0000 |
| Subject: | session_unregister and _destroy ?? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-12627@lists.php.net to get a copy of this message | ||
Hello NG.
I'm trying to clear some session variables and destroy the session but it
doesn't work. Any suggestions?
My code is simple:
session_unregister('var1');
session_unregister('var2');
session_unregister('var3');
session_unregister('var3');
session_unregister('var4');
session_unregister('var5');
session_destroy();
Note: I'm using Win98/PHP 4.1.1/Apache. Session-auto-start is turned on.
~ Sviss