i have a masterpage containing this code :
<asp:LoginView ID="LoginView1" runat="server" >
<asp:LoginName ID="LoginName1" runat="server" />
<asp:HyperLink ID="HyperLink_be_member" NavigateUrl="~/mypath/NewMember.aspx"
runat="server">You're a member?</asp:HyperLink>
<asp:LoginStatus ID="LoginStatus1" runat="server" />
when i am logged in, everything works fine : loginName shows the login name and loginstatus shows "Logout" hyperlink. And it shows this wherever i am in the website (subfolder or root).
But when i click on logout hyperlink, i go back to homepage and then loginName shows the login name of the member who just signed out and loginstatus still shows "logout" hyperlink. That s wrong.
When i go on a subfolder page, the loginName shows "You re a member ?" and loginStatus shows "Log in". That's the right behavior.
After trying lots of time to log in and log out and understand why it works this way, i real
View Complete Post