Login and logout features of the LoginStatus control
<%@ Page Language="VB" %> <html xmlns="http://www.w3.org/1999/xhtml" > <head id="Head1" runat="server"> <title>Login or Logout</title> </head> <body> <form id="form1" runat="server"> <asp:LoginStatus ID="LoginStatus1" Runat="server" /> </form> </body> </html>