Re: deleting $_SESSION
| From: | -k. | Date: | Mon, 11 Apr 2005 14:47:39 +0000 |
| Subject: | Re: deleting $_SESSION | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-212800@lists.php.net to get a copy of this message | ||
--- AndreaD <andrea.davidson@silene.co.uk> wrote:
> I have a session variable called
>
> $_SESSION['total'] the problem is I can't
> delete/reset it. I have tried
Try unset.
unset($_SESSION['total']);
http://us4.php.net/manual/en/function.unset.php
-k.
__________________________________
Do you Yahoo!?
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250