ASP程序……请程序员朋友帮忙看一下下边的程序错在哪,帮忙改正,谢谢!

来源:百度知道 编辑:UC知道 时间:2024/05/12 15:29:43
请程序员朋友帮忙看一下下边的程序错在哪,帮忙改正,谢谢!
<%
if rs("yhjb")<> "超级管理员" then
response.write"<script language=javascript>alert('对不起,登陆失败!请确认您有足够的权限!');this.location.href='login.asp';</script>"
end if
%>
提示错误是:错误 '80020009'

<%
if rs("yhjb")<> "超级管理员" then%>

<script language=javascript>

alert('对不起,登陆失败!请确认您有足够的权限!');
this.location.href='login.asp';

</script>
<%end if%>

报什么错?不转页么?this改成document试试