hi to all . i 'm creating a website. i create a login form. after login my session will be start and all page of user profile will check first is session istart. i have stored userid in session for identify user. But i want to username of that userid. Remaiber username and userid are different. and i want to show only username on welcome tab.
e.g. userid= rksaini89
so i want to show like this "welcome ramkrishn" on my home page and other many places on different forms.
my confusion is that how to get username acording userid and where to keep store it.
i can get it from database according session but i'm confused where to keep it so i can use it everywhere on my website...??
View Complete Post