<form action="login.asp" method="post" name="myfs" id="myfs">
<table width="30%" border="0" cellpadding="3" id="login3" cellspacing="0" style="background: #fff; position:static;filter:progid:DXImageTransform.Microsoft.DropShadow(color=#666666,offX=4,offY=4,positives=true);margin-left:auto;margin-right:auto;" align="center">
<tr>
<td height="25" colspan="2" style="text-align: right"> </td>
</tr>
<tr>
<td width="24%" height="34" style="text-align: right">用户名:</td>
<td width="76%"> <input type="text" name="UserName" id="UserName" onFocus="this.select(); " /></td>
</tr>
<tr>
<td height="34" style="text-align: right">密 码:</td>
<td> <input type="password" name="password" id="password" value="" οnfοcus="this.select(); " /></td>
</tr>
<tr>
<td height="38" style="text-align: right">验证码:</td>
<td>
<input name="VerifyCode" size="6" maxlength="4" style=" width:20%;" onFocus="this.select(); "><img src="inc/VerifyCode.asp" align="absmiddle"></td>
</tr>
<tr>
<td height="44"> </td>
<td><input type="submit" name="sublgoin" id="sublgoin" value="登录" style="width:auto" onClick="return cks()"><input type="reset" name="sublgoin" id="sublgoin" value="重置" style="width:auto"></button></td>
</tr>
</table>
</form>
这个代码中,如何让用户的登陆用户名和密码能永久保存下来,方便下次登陆的时候不用输入用户名和密码
如何让用户的登陆用户名和密码能永久保存下来,一进入站内,默认就是登陆状态,除非点了退出
类似于百度贴吧的用户名。