remove session value by key php code example
Example 1: unset session in php
session_unset(); //Destrol all session variables
Example 2: unset session key
unset($_SESSION['variable_name']);
session_unset(); //Destrol all session variables
unset($_SESSION['variable_name']);