标题:ASP遇到的一个问题
只看楼主
龙龙学编程
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2012-6-6
 问题点数:0 回复次数:1 
ASP遇到的一个问题
程序代码:
                <td height="38" align="right" valign="top"><% if Session("UUname")<>"" and 

Session("UUID")<>"" then
                %>您好:<span class="domain_2"><%= Session("UUname") %

></span> 欢迎您登录系统! [<a href="../Manage/main.asp" class="line_1"><B>会员管理中心

</B></a>] [<a href="../Manage/logout.asp?Url=/Style/memberlogin.asp" class="line_1">退出系统

</a>]<%else%>
<DIV style="MARGIN: 5px; WIDTH: 630px" id=submenu_r class=left>
<UL>
  <LI style="FLOAT: left">
  <DIV id=login_info>
  <FORM method=post name=login_form
  action=../Manage/index.asp?Action=Login&amp;Url=/Style/memberlogin.asp>
  <DIV id=lgn_wrap><SPAN class=lgn_ipt><SPAN class=w>用户名:</SPAN> <INPUT
  class=ipt name=AdminUserName> </SPAN><SPAN class=lgn_ipt><SPAN
  class=w>密码:</SPAN> <INPUT class=ipt type=password name=AdminUserPwd></SPAN>
  <SPAN class=lgn_lnk><img src="../Manage/js/UserxCode.asp" border="0" align="absmiddle" 

class="admin_hand" title="看不清,请点击刷新验证码" 

onClick="this.src='../Manage/js/UserxCode.asp?npoint=' + Math.random()" />&nbsp;</SPAN> <SPAN class=lgn_lnk><INPUT
  style="BACKGROUND-IMAGE: none; BACKGROUND-POSITION: 0% 0%" id=AdminCode
  class=txt maxLength=4 size=8 name=AdminCode>&nbsp;</SPAN> <SPAN
  class=lgn_lnk><INPUT align=absMiddle src="images/bt_login2.gif"
  type=image>&nbsp;&nbsp;</SPAN> <SPAN class=lgn_lnk><INPUT style="BACKGROUND-IMAGE: url(images/bt_reg.gif); BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; WIDTH: 44px; HEIGHT: 20px; BORDER-TOP: 0px; CURSOR: pointer; BORDER-RIGHT: 0px" id=button onClick="location.href='memberuserreg.asp'" align=absMiddle type=button name=button></SPAN>
  </DIV></FORM></DIV></LI>
  <LI style="FLOAT: left"><SPAN>&nbsp;&nbsp;<a href="#"  class="line_1" onclick="QQLogin()"><img src="images/Connect_logo_1.png" 

width="16" height="16" border="0">QQ登录</a>&nbsp;|&nbsp;<A
  href="userpwdsend.asp">忘记密码</A></SPAN>
               
                                 <%end if%>
以上代码在运行的时候提示下面的错误
程序代码:
Microsoft VBScript 编译器错误 错误 '800a03ea' 

语法错误 

/Style/top.asp,行 81 

if Session("UUname")<>"" and
----------------------------^

哪位高手解答一下。谢谢了!!!!
2012-06-06 23:27
coretear
Rank: 4
等 级:业余侠客
威 望:1
帖 子:102
专家分:244
注 册:2012-6-5
得分:0 
换行了 <%if Session("UUname")<>"" and Session("UUID")<>"" then%>
2012-06-06 23:48



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-370978-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.074755 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved