北京水兵舞第二套价:网页新错误,请大家帮忙

来源:百度文库 编辑:查人人中国名人网 时间:2024/05/09 14:18:30
打开网页提示这个错误,这是后台登陆的页面
Script error detected at line 1.
Source line: if session("AdminName") = "" then

ASP源文件是:
<%
if session("AdminName") = "" then
response.Redirect "Login.asp"
end if
%>
<%
%>
<html>
<head>
<meta http-equiv=Content-Type content=text/html;charset=gb2312>
<title>良精通用企业网站管理系统</title>
<style type="text/css">
.navPoint {COLOR: white; CURSOR: hand; FONT-FAMILY: Webdings; FONT-SIZE: 9pt}
.a2{BACKGROUND-COLOR: A4B6D7;}
.style1 {color: #FF0000}
</style>
</head>
<%
select case Request("menu")
case ""
main
case "top"
top
end select
%>
<% sub top %>
<BODY leftMargin=0 topMargin=0 rightMargin=0>
<CENTER>
<TABLE style="BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width="100%" border=0>
<TR>
<TD align=center width="100%" height=25 style="BACKGROUND-IMAGE: url(image/titlebg.gif); COLOR: #330099; font: 10.5pt"
><font color="#0000FF"><b>良精 通用企业网站管理系统 </b></font><b><span class="style1">试用版</span></b> </TD>
</TR>
</TABLE>
</CENTER>
</body>
<% end sub %>

<% sub main %>
<body scroll=no onResize=javascript:parent.carnoc.location.reload()>
<script>
if(self!=top){top.location=self.location;}
function switchSysBar(){
if (switchPoint.innerText==3){
switchPoint.innerText=4
document.all("frmTitle").style.display="none"
}else{
switchPoint.innerText=3
document.all("frmTitle").style.display=""
}}
</script>

<table border="0" cellPadding="0" cellSpacing="0" height="100%" width="100%">
<tr>
<td align="middle" noWrap vAlign="center" id="frmTitle">
<iframe frameBorder="0" id="carnoc" name="carnoc" scrolling=no src="LeftTree.asp" style="HEIGHT: 100%; VISIBILITY: inherit; WIDTH: 170px; Z-INDEX: 2">

偶测试了下没有问题啊!