2009-05-13 12 views
2

誰かが簡単なログインページの覚えている私のチェックボックスを追加するための正しい方向に私を向けることができますか?基本的には、ユーザー名ではなくパスワードのみを使用します。これは可能ですか?ここで aspログインフォームに「remember me」ボックスを追加する

は、ログインASPページの保護されていない部分のコードです:

'****************** Begin UNprotected content **************************** 
' 
' Enter the content you want the user to see prior to loggin in here. 
' Be sure the content is between the < % Else % > and < % End If % > asp 
' tags here. 

%> 
<p>Welcome to our Members Only area. Please enter the password we supplied you to Log 
In.</p> 
<form action="<%= strPage %>" method="post" name="frmMembers" id="frmMembers"> 
<table id="n3-LogInTable"> 
    <caption><%= strCaption %></caption> 
    <col class="colOne" /> 
    <col /> 

    <tr> 
     <td nowrap="nowrap">Password</td> 
     <td><input name="txtPassword" type="password" class="n3-textField" id="txtPassword" size="30" maxlength="50" /></td> 
    </tr> 
    <tr> 
     <td colspan="2" nowrap="nowrap"><input name="btnLogIn" type="image" id="btnLogIn" src="login/n3_stuff/btn_login.gif" /></td> 
    </tr> 
    <tr></tr> 
</table> 
</form> 
<% '****************** End UNprotected content **************************** 

答えて

関連する問題