Click here to Skip to main content
15,895,746 members
Please Sign up or sign in to vote.
2.50/5 (2 votes)
See more:
Dear sir,
I have working on an asp.net application. After log in I have enter to my home page which is designed with a master page. Show after log in I have showing the username in a lable placed in master page. But when I click for other content page the label placed in master page does not show its value.

Show how can i show this label value after log in and it does not erase after click any content page.

thanks $ Regards from

Bigyan R. Sahoo
Posted
Comments
ZurdoDev 14-Jul-14 16:02pm    
How can we tell why it erases if you don't post the relevant code?

1 solution

First create session variable for user and save this username in this variable.Assign this session value to label created on master page.
 
Share this answer
 
Comments
bigyan sahoo 14-Jul-14 16:08pm    
Thank u sir.its working correctly...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900