Anyway, session_unset() only unset session vars in memory, but session_destroy()
deletes session vars from storage.
i.e. You can free storage with session_destroy() without waiting garbage
collection.
Unless programmer discards session id, session data will be created with the
same session id, though.
--
Yasuo Ohgaki
"Carfield Yim" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]