session_start();
$_SESSION['name'] = 'value';
$_SESSION['name'];
unset($_SESSION['name']);
session_destroy();
setcookie('name','value');
$_COOKIE['name'];
setcookie('name',null);
foreach($_COOKIE as $k=>$v){ setcookie($_COOKIE[$k],null); }