LoginStatus control provides link for unauthenticated users to log on - ASP.NET Security

Q.  Which of the following control provides a link for unauthenticated users to log on?
- Published on 24 Jul 15

a. Login
b. LoginView
c. LoginStatus
d. LoginName

ANSWER: LoginStatus
 

    Discussion

  • Raj Singh   -Posted on 21 Sep 15
    The LoginStatus control displays a login link for users who are not authenticated. When the user is logged in to the Web site, the LoginStatus control defines a link to log out of the Web site.
    The LoginStatus control has two states.
    • Logged in
    • Logged out
    Important Properties:
    • LoginImageUrl
    • LoginText
    • LogoutImageUrl
    • LogoutPageUrl
    • LogoutText

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)