session_unset() delete only a variables from session - session still exist-Only data are truncated.But session_unset() is an outdated PHP function. We can set the session to an empty array instead.
$_SESSION = array();
session_destroy() will delete whole session. It's not always necessary to do both.But it is advisable to do both just to ensure extra security.