Home   |   QuickStart Welcome   |   ASP.NET   |   Web Services   |   How Do I...?   
  |   I want my samples in...      

ASP.NET 2.0 Quickstart Tutorials


The LoginStatus control automatically detects the user�s authentication status and displays the appropriate Login/Logout option. Clicking on the Login button will redirect the user to the login page for the website. The LoginStatus control will retrieve the login page URL from the web.config file forms authentication section. Clicking on the Logout button will clear the user�s authentication status and by default refresh the page that they are currently viewing. The LoginStatus control can display the Login/Logout options as buttons or image buttons.

LoginStatus Sample

This sample shows the basic functionality of the LoginStatus control.

VB LoginStatus
Run Sample View Source