Which function is used to erase all session variables stored in the current session?
Which function is used to erase all session variables stored in the current session? Correct Answer session_unset()
The function session_unset() frees all session variables that is currently registered. This will not completely remove the session from the storage mechanism. If you want to completely destroy the session, you need to use the function session_destroy().