[求助]会员在index.asp页面登录成功后,再返回到index.asp,怎么在indexl.asp页面不
index.asp页面的会员注册,登录代码<%
session("username")=request.Form("username")
username=session("username")
if session("username")="" then
%>
<table width="216" border="0" cellspacing="1">
<tr>
<td width="212" height="133"><form id="form2" name="form2" method="post" action="user/check.asp" onsubmit="return checkform()">
用户名:
<label>
<input type="text" name="username" width="100" />
</label>
<p>密 码:
<label>
<input type="password" name="password" width="100" />
</label>
</p>
<p align="center">
<label>
<input type="submit" name="Submit" value="登陆" />
</label>
<label>
<input type="button" name="button" value="注册" onclick"javascript:document.location.href='./user/reg.asp'"/>
</label>
</p>
</form>
</td>
</tr>
</table>
<%else%>
<table width="200" border="1">
<tr>
<td>欢迎<%=session("username")%>登陆成功</td>
</tr>
</table>
<%end if%>