mercredi 23 décembre 2015

asp.net Login view doesn't show logged in template

I am using the login controls in the vs But it only allow me to Log in but the login view doesn't change at all , it keeps showing that I am not logged in

<asp:LoginView ID="LoginView1" runat="server">
                <AnonymousTemplate>
                    Welcome to our Site, you may have to
                    <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/login.aspx">LogIn</asp:HyperLink>
                    ,if you haven&#39;t join us before you can sign up<asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl="~/Sign Up.aspx">here</asp:HyperLink>
                    &nbsp;
                </AnonymousTemplate>
                <LoggedInTemplate>
                    Welcome to your Site&nbsp;&nbsp;
                    <asp:LoginName ID="LoginName1" runat="server" />
                    &nbsp;
                </LoggedInTemplate>
                </asp:LoginView>




Aucun commentaire:

Enregistrer un commentaire