userresetpwd.asp
来自「本同学录系统演示地址: http://class.19870123.cn/ 」· ASP 代码 · 共 29 行
ASP
29 行
<!--#include file="../conndb.asp"-->
<!--#include file="../class/Person.asp"-->
<html>
<head>
<title>用户管理</title>
</head>
<body>
<%
uid = request.queryString("uid")
orgpwd = request.form("orgpwd")
'判断是否存在此用户
set objPerson = new Person
objPerson.GetPersonInfo(uid)
if objPerson.UserId=uid And objPerson.UserPwd=orgpwd then
objPerson.UserPwd = Request.Form("pwd")
objPerson.setpwd(uid)
Session("UserPwd") = objPerson.UserPwd
Response.Write "<h2>更改密码成功!</h2>"
else
Response.Write "不存在此用户名或密码错误!"
end if
%>
</body>
<script language="javascript">
opener.location.reload();
setTimeout("window.close()",800);
</script>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?