Re: session_unset vs. _destroy
| From: | Max Derkachev | Date: | Fri, 08 Dec 2000 08:47:46 +0000 |
| Subject: | Re: session_unset vs. _destroy | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-29304@lists.php.net to get a copy of this message | ||
session_unset() unsets all the session variables, but session_destroy()
destroys the data associated with the session - the data wich is stored
somewhere used to resurrect session variables.
Richard Lynch wrote:
> I think session_unset() unsets a single variable, and session_destroy()
> destroys the whole session...
>
> > Can someone explain to me the difference between session_unset() and
> > session_destroy()?
> >
> > Unless I misunderstand the documentation, they seem to do the same
> thing.
--
Best regards,
Max A. Derkachev mailto:kot@books.ru
Symbol-Plus Publishing Ltd.
phone: +7 (812) 324-5353
http://www.Books.Ru -- All Books of Russia