Hai friends,
I am beginner to MVC.
According to my application, the user logins in child page whenever user login the layout page should display "hai username".
That means after user logins , The concern user name should be displayed on the layout page.
Thank you.
Loading

Sreekanth ReddyPosted Nov 21, 2014, 9:36 PM
Shweta LodhaPosted Nov 21, 2014, 8:05 AM
for the above to work you need
using System.Web.Security; // this enables Membership.
More info: http://forums.asp.net/t/1367379.aspx?Display+user+name+in+the+header+when+logged+in