那位大哥能帮忙修改一下,关于密码跳转页面的问题。想弄成双密码的
现在的密码是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
%>