我现在有一个登陆页面...怎么样实现登陆完毕后...输入用户和密码的框消失改成登陆用户的名称...大家帮下忙
大家来看看吧
<%if session("userid") = "" then
call login
else
call info
end if%>
<%function login%>
<table width='200' border='1'>
<tr>
<td>账号</td>
<td colspan='2'><input type='text' name='userid' /></td>
</tr>
<tr>
<td>密码<input type='password' name='password' /></td>
<td colspan='2'><input type='password' name='password' /></td>
</tr>
<tr>
<td>附加码</td>
<td>1234</td>
<td><input type='test' name='GetCode' /></td>
</tr>
</table>
<%end function%>
<%function info%>
<table width='200' border='1'>
<tr>
<td>账号</td>
<td colspan='2'><%=session("userName")%></td>
</tr>
<tr>
<td>密码</td>
<td colspan='2'><%=session("userName")%></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
<%end function%>