note 12099 deleted from function.session-destroy by jimw
| From: | jimw@php.net | Date: | Fri, 07 Dec 2001 00:45:42 +0000 |
| Subject: | note 12099 deleted from function.session-destroy by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-21732@lists.php.net to get a copy of this message | ||
Before using "session_destroy()" you've to call "session_start()",
that's clear. But therefore all session variables are initialized. If you like to reset the
vars correctly, you're to use "unset($yourSessionVar)".
Or is there a better solution? (especially if you've quite a lot of vars)