kishor choure

kishor choure

  • NA
  • 87
  • 46.1k

please help me regarding LoginName and LoginStatus

Mar 14 2017 5:37 AM
I want to utilize my own logic with Login Controls . when user logined in then on master page display their LoginName and Status .
 
but
 
This is not happens. Master page does not shows login Name and status. ..
 
following steps I done
1. EmpLogin.aspx  Page contains my LoginView and Login controls -
2. Site.Master Page contains another LoginView with LoginName and LoginStatus Inside that view 
3. Default.aspx  page is my Home page of website.
 
both EmpLogin.aspx and Default.aspx pages are child web forms of Site.Master page. 
 
when  I login From EmpLogin.aspx page  with my own login logic , I login successfully  and  I redirected to Default.aspx page.but when Default.aspx   is loaded Site.Master page cannot display the LoginName and LoginStatus.
 
 
so how can I do so that LoginName and LoginStatus will be displayed on Master page
 
thanks. 

Answers (3)