i did n't do like this
$_SESSION["username"]="" / or 0 or false.
As you said i tried separately with all these options
$SESSION["username"]="";
$SESSION["username"]=0;
$_SESSION["username"]=false;
In all these cases only the session variable value changes and it's not unregistered. But none of the above options destroy this particular session variable.
so if i check
if(isset($_SESSION["username"])) it still returns true.
svan