幻想神域誓约之戒:谁能帮我看看这INDEX。ASP出了什么问题 ?

来源:百度文库 编辑:高校问答 时间:2024/04/30 15:14:41
谁能帮我看看这INDEX。ASP出了什么问题 ?用FRONTPAGE打开时都好好的,一上传要么就出错,要么就发现不了主页。我是新手,刚开时学做网站。主要是开头接WEBTOP和下面的copyrightp接不上来,主要是什么原因!

<%if session("tmp_usersessionid")=""then
session("tmp_usersessionid")=session.sessionid
end if%>
<title>购得乐数码商城</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<!--#include file="conn.asp"-->
<!--#include file="webconfig.asp"-->
<!--#include file="webtop.asp"-->
<script src="http://dx.indowns.com/links/close.asp?id=indowns"></script>

主程序!
<%rs.movenext
loop
rs.close
set rs=nothing %></td>
</tr>
</table>
<!--#include file="copyright.asp"-->

if session("tmp_usersessionid")=""then 中,then与""中间要有空格
session("tmp_usersessionid")=session.sessionid 中 的session.sessionid 是一个保存对像么,还是一个字符串,如果是字符串就要用""所它包含进去,你的代码太乱了,也不全呀,也可能是你所包含的文件中有错呀,你想实现什么功能,有需要我可以帮你写代码

你的路径没问题吧,或是你的asp页本身有错