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't join us before you can sign up<asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl="~/Sign Up.aspx">here</asp:HyperLink>
</AnonymousTemplate>
<LoggedInTemplate>
Welcome to your Site
<asp:LoginName ID="LoginName1" runat="server" />
</LoggedInTemplate>
</asp:LoginView>
Aucun commentaire:
Enregistrer un commentaire