home *** CD-ROM | disk | FTP | other *** search
/ Programming Microsoft Visual Basic .NET / Programming Microsoft Visual Basic .NET (Microsoft Press)(X08-78517)(2002).bin / 24 aspnet applications / aspnetsecurity / loginpage.aspx < prev    next >
Encoding:
ASP.NET Web Form  |  2002-03-18  |  1.6 KB  |  33 lines

  1. <%@ Page Language="vb" AutoEventWireup="false" Codebehind="LoginPage.aspx.vb" Inherits="AspNetSecurity.LoginPage" %>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  3. <HTML>
  4.     <HEAD>
  5.         <title>LoginPage</title>
  6.         <meta name="GENERATOR" content="Microsoft Visual Studio.NET 7.0">
  7.         <meta name="CODE_LANGUAGE" content="Visual Basic 7.0">
  8.         <meta name="vs_defaultClientScript" content="JavaScript">
  9.         <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
  10.     </HEAD>
  11.     <body>
  12.         <H1>Login page</H1>
  13.         <P>This page is where all unauthenticated users are redirected if Forms 
  14.             authentication is enforced.</P>
  15.         <P> </P>
  16.         </FORM>
  17.         <FORM id="Form3" style="FONT-WEIGHT: bold; FONT-SIZE: x-large" method="post" runat="server">
  18.             <P></P>
  19.             <P style="FONT-WEIGHT: normal; FONT-SIZE: medium">Username
  20.                 <asp:TextBox id="txtUsername" runat="server"></asp:TextBox></P>
  21.             <P style="FONT-WEIGHT: normal; FONT-SIZE: medium">Password 
  22.                 <asp:TextBox id="txtPassword" runat="server" TextMode="Password"></asp:TextBox> 
  23.                 <asp:CheckBox id="chkRemember" runat="server" Text="Remember my password"></asp:CheckBox></P>
  24.             <P style="FONT-WEIGHT: normal; FONT-SIZE: medium">
  25.                 <asp:Button id="btnLogin" runat="server" Text="Login"></asp:Button> 
  26.                 <asp:HyperLink id="hprNewUser" runat="server" NavigateUrl="RegisterPage.aspx">I am a new user</asp:HyperLink></P>
  27.             <P style="FONT-WEIGHT: normal; FONT-SIZE: medium">
  28.                 <asp:Label id="lblMessage" runat="server" ForeColor="Red"></asp:Label></P>
  29.             <P style="FONT-WEIGHT: normal; FONT-SIZE: medium"> </P>
  30.         </FORM>
  31.     </body>
  32. </HTML>
  33.