Re: What is the difference between session_unset() and session_destroy()?

From: Date: Thu, 29 Mar 2001 07:20:02 +0000
Subject: Re: What is the difference between session_unset() and session_destroy()?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-46028@lists.php.net to get a copy of this message
Erm...I believe session_unset unsets all variables in the session, leaving the session itself intact. While session_destroy deletes the entire session and all variables in it. But I'm not so sure. "Carfield Yim" <carfield@programmer.net> wrote in message news:3AC2C7DA.7D75C397@programmer.net... > From the manual, > session_unset ¡X Free all session variables > session_destroy ¡X Destroys all data registered to a session > > What do this document exactly mean? > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#46028) next »