📄 userresetpwd.asp
字号:
<!--#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -