Re: Resetting a session variable
| From: | chetan rane | Date: | Mon, 04 Feb 2008 02:20:17 +0000 |
| Subject: | Re: Resetting a session variable | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-268610@lists.php.net to get a copy of this message | ||
Hi
there are 2 functions
session_unset('Key');
session_destroy();
please find them in the manual. i think they are the 2 used for setting and
usetting the session.
On Feb 4, 2008 1:14 AM, Feris Thia C. <feris.thia@gmail.com> wrote:
> Resetting all session variables or one of those session vars ?
>
> If you need to reset all then use *session_destroy() *function.
>
> Hope it helps..
>
> Regards,
>
> Feris
> http://top-10.bigspacehosting.com
>
> On Feb 4, 2008 1:14 AM, Ron Piggott <ron.php@actsministries.org> wrote:
>
> > What is the command to reset a session variable --- essentially deleting
> > all of the values it contains? Ron
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
--
Have A pleasant Day
Chetan. D. Rane
Location: India
Contact: +91-9986057255
other ID: chetscool@yahoo.com
chetrane@rediffmail.com