哪位高人帮忙看一下,我这段代码有什么问题啊?谢谢

[复制链接]
查看11 | 回复1 | 2010-11-3 01:19:33 | 显示全部楼层 |阅读模式
username then
response.write " alert('管理帐号不正确,请重新输入!');location.replace('index.asp');script>"
response.end
end if
if Passwordpassword2 then
response.write " alert('管理密码不正确,请重新输入!');location.replace('index.asp');/script>"
response.end
end if
if (int(session("vCodes"))int(request.Form("vCodes"))) then
response.write " alert('提示:\n\n验证码错误,请重新输入黄色区域内的数字!');location.replace('index.asp');/script>"
response.end
end if
if LoginName=username then
if Password=password2 then
session("username")=username
session.Timeout=30
response.redirect "index_index.asp"
end if
end if
%>
但是,为什么运行起来时一片空白呢,也不报错,请高人指点,QQ:625886646

回复

使用道具 举报

千问 | 2010-11-3 01:19:33 | 显示全部楼层
运行没有毛病,只不最后面过多了两个if LoginName=username thenif Password=password2 then判断而已,前面过滤了,后面就不需要判断了。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行