does session_destroy delete session variables value php code example Example: clear session php <?php unset($_SESSION['counter']); ?>