If I call setcookie() two times with the same cookie name, I get two cookies created.
setcookie()
How do you update an existing cookie?
call COOKIE and delete username value SETCOOKIE("username",'',0,"/");