How can we destroy a session in PHP? Pradeep Maurya 7 years ago We can destroy a session by: <?php session_destroy(); ?> To delete a specific session variable, we use <?php session_unset($_SESSION['variable_name']); ?>