Oct 16, 2012 07:39 AM | Mohammaf T. Fakhouri | LINK Passing user name from login page to welcome page in JSP . (or really for whatever you want to do with it).What you need:Simple typing program (Notepad is preferred)A computerA brainThat's it! How do I display user name in the header when logged in? After the login button is pressed, the login code written in the server.php page is run, which does all the backend work, like checking whether the username and password match or not. Also, few lines of code will be appreciated it too. Uses WordPress functions and queries to pull user information, and to display the login/logout/register links. In this article we will learn how to display a username along with his/her photo stored in the database after successful login. At the point the user logs in, put his username in the session. Wrap a