Codice PHP:
foreach($_SESSION as $key->$value){
 if(
$key!='C'
  unset(
$_SESSION[$key])

Può andare?