don't mix and mingle unset with session business... it's unnecessary
to set a session variable, just do
$_SESSION['variable'] = "whatever";
to set it to nothing, just do
$_SESSION['variable'] = "";
simple as that... if that doesn't work on your local machine versus your remote server, check into server configuration, but there is NO reason for that NOT to work