Re: Resetting a session variable
| From: | Paul Scott | Date: | Mon, 04 Feb 2008 04:21:23 +0000 |
| Subject: | Re: Resetting a session variable | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-268617@lists.php.net to get a copy of this message | ||
On Sun, 2008-02-03 at 13:14 -0500, Ron Piggott wrote:
> What is the command to reset a session variable --- essentially deleting
> all of the values it contains? Ron
Assign the session to an empty array() and then use session_destroy()