<?php $_SESSION["username"] = "usr1"; //create session echo $_SESSION["username"]; $_SESSION["username"] = "usr2"; //overide session echo $_SESSION["username"]; unset ($_SESSION["username"]); //destory session ?>