Create session variable
<?php session_start(); $_SESSION['username'] = "Joe"; echo "Your username is ".$_SESSION['username']."."; ?>