To unregister some session you can use:
<?php
// delete session
$_SESSION['NAME'] = array();
// start session
session_start();
// put info in session
$_SESSION['NAME']['userid'] = 5;
$_SESSION['NAME']['name'] "John Doe";
?>