那位大哥能帮忙修改一下,关于密码跳转页面的问题。想弄成双密码
asp吧
全部回复
仅看楼主
level 1
83gege 楼主
现在的密码是123,我想再加一个密码456也能登录,如何修改?
<%
dim password,user,pass,action
pass=“123”
action=trim(request("action"))
if action="logout" then
session("userlogin")=""
response.Write "已退出"
response.Write "<a href=r.asp?id="&id&"&page=1>返回</a>"
response.End()
end if
if session("userlogin")<>"ok" then
if action="login" then
password=trim(request("password"))
if password=pass then
session("userlogin")="ok"
response.redirect "r5.asp?id="&id&"&page=1"
else
response.Write "登陆失败"
response.Write "<a href=cx.asp>重新登陆</a>"
response.End()
end if
else
%>
2020年03月30日 05点03分 1
level 8
去天天asp家园问吧
2020年03月31日 23点03分 2
level 4
<%
dim password,user,pass,action
pass=“123”
action=trim(request("action"))
if action="logout" then
session("userlogin")=""
response.Write "已退出"
response.Write "<a href=r.asp?id="&id&"&page=1>返回</a>"
response.End()
end if
if session("userlogin")<>"ok" then
if action="login" then
password=trim(request("password"))
if password=pass or password="456" then
session("userlogin")="ok"
response.redirect "r5.asp?id="&id&"&page=1"
else
response.Write "登陆失败"
response.Write "<a href=cx.asp>重新登陆</a>"
response.End()
end if
else
%>
2020年04月07日 07点04分 3
1