Displaying a logged in users name on all backend homepage.
Hello,
Ok I have figured out how to display a users name on a page.
e.g welcome: {session.sessionname}
I was able to do this by creating the session on the login page, server behaviour, "authenticate user". I went to step 3/3 and added 2 sessions, one for firstname column and another for lastname column. Then I went to my admin homepage and bind the sessions to the page. So I get e.g.
Welcome John Doe.
What I need help on is I need to display the users userLevel next to the name.
e.g. Welcome John Doe {session.userLeveltextdescription}
The problem is if I use the session variable in my parent table I will get the userlevel ID so it will display an integer. How would I get the session to display the text value of the userlevel ID according to the logged in user?
ps I have a bad feeling this has something to do with parameters, which I have no clue how to use, so I would be grateful if this can be explained indepth including all the neccessary recordsets and server behaviours I would need for the page. I have linked the login redirect page to this admin homepage so in addition I just need to know all the php the admin homepage needs to function.
Many Thanks in advance