Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001032

Re: [PHP] What is the difference between session_unset() and session_destroy()? From: \[Inf\] F!RE-WALL (claninfinity <email protected>)
Date: 03/29/01

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 <email protected>> wrote in message
news:3AC2C7DA.7D75C397 <email protected>
> 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 <email protected>
> For additional commands, e-mail: php-general-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>