Click here to Skip to main content
15,905,028 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello everybody, I am doing a simple project and I just use the Login and LoginStatus contrl,but the LoginStatus doesn't work and it does nothing when I click on the Logout button.

XML
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" Runat="Server">
    Welcome: <asp:LoginName ID="LoginName1" runat="server">
    </asp:LoginName>
    <br />
    <asp:Login ID="Login1" runat="server">
    </asp:Login>
    <br />
    <asp:LoginStatus ID="LoginStatus1" runat="server" />
</asp:Content>
Posted
Comments
Kornfeld Eliyahu Peter 7-Jan-15 3:19am    
Put a handler to the LoggedOut event of the control to see what happening...
You may also add the relevant part from the web.config...

1 solution

Please follow the following articles. You need to code for that.

1. Login Control in ASP.NET 3.5[^]
2. Login Status Control in ASP.NET 3.5[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900