Authentication Authorization ASP.Net Tutorial

<%@ Page Language="C#" %>
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">




    
    

            id="PasswordRecovery1"
        Runat="server">
                    From="Admin@YourSite.com"
            Subject="Password Reminder"
            BodyFileName="PasswordRecovery.txt" />
        
        

User Name


                    id="FailureText"
            EnableViewState="false"
            ForeColor="Red"
            Runat="server" />
        
                    id="lblUserName"
            Text="Enter your user name:"
            AssociatedControlID="UserName"
            Runat="server" />
        
                    id="UserName"
            Runat="server" />
        
                    id="btnSubmit"
            Text="Next"
            CommandName="Submit"
            Runat="server" />
        

        
        

Security Question


                    id="FailureText"
            EnableViewState="false"
            ForeColor="Red"
            Runat="server" />
        
                    id="Question"
            Text="Enter your user name:"
            AssociatedControlID="Answer"
            Runat="server" />
        
                    id="Answer"
            Runat="server" />
        
                    id="btnSubmit"
            Text="Next"
            CommandName="Submit"
            Runat="server" />
        

        
        

Success


        An email has been sent to your registered
        email account that contains your user name
        and password.
        

    
    

    


File: PasswordRecovery.txt
Here's your login information:
  user name: <%UserName%>
  password: <%Password%>