日期:2013-10-17  浏览次数:20903 次

<!--#include file="conn.asp"-->
<%
dim rs
dim username
username=request.form("username")
session("username")=username
set rs=Server.CreateObject("Adodb.Recordset")
rs.open "select 用户名,问题 from User where 用户名='"&username&"'",conn,1,1

If rs.eof Then
response.write "没有该用户名,请注册新用户!!! <br><br>"
response.write "<a href='login.asp'>返回</a>"
response.end
End If
%>
<html>
<head>
<title>忘记密码——第二步</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="inc/style1.css" type="text/css">
</head>

<BODY marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">

<table width="758" border="0" cellspacing="1" cellpadding="1" align="center" height="30">
<tr> <td><BR><BR><BR><BR></td></tr> </table><TABLE WIDTH="758" BORDER="0" CELLSPACING="2" CELLPADDING="2" ALIGN="CENTER"><TR><TD HEIGHT="63"><DIV ALIGN="CENTER"><B><FONT SIZE="2">密码恢复第二步:
请输入你的密码提示问题答案<BR><BR>你的密码提示问题:<%=rs("问题")%></FONT></B><BR><BR><form action="getpass2.asp" method="post" name="form"><input type=text name="ok" SIZE="20">
<input type=submit value="下一步"></FORM></DIV></TD></TR></TABLE><p> </p>
<p> </p>
<p> </p>
<p><br>
</p>
<p>

</body>
</html>|其中这句话:rs.open "select 用户名,问题 from User where 用户名='"&username&"'",conn,1,1
2个1表示?本文测试如下:本页无法显示 试图访问的网页出现问题,无法显示。
--------------------------------------------------------------------------------
请尝试以下方法:
单击 刷新按钮或者梢候再试。
打开 localhost 主页,然后查找与所需信息相关的链接。 HTTP 500.100 - 内部服务器错误 - ASP 错误Internet 信息服务


--------------------------------------------------------------------------------

技术信息(适用于支持人员)

错误类型:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E21)
/hyoem/getpass1.asp, 第 8 行




浏览器类型:
Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0; .NET CLR 1.1.4322)



页:
POST 23 bytes to /hyoem/getpass1.asp



POST 数据:
username=Administrators



时间:
2004年11月13日, 19:59:57




详细信息:
Microsoft 支持