err.asp

来自「基于ASP的网上考试系统源码」· ASP 代码 · 共 21 行

ASP
21
字号
<%
'程序名称:网上考试系统
'程序作者:韩波(bobby)
'OICQ:40274856   E-mail:bobbyhan@163.com
%>
<%
 StudentID=session("loginid")
 Name=session("loginname")
%>
<!-- #include file="connect.asp" -->
<%rs.Open "Select * From 成绩表 where StudentID='" &StudentID&"'", conn, 3,3%>
<%if not (StudentID=rs("StudentID") and Name=rs("Name")) then%>
<script language=vbscript>  
  		MsgBox "对不起,您还没有正确登录或是未操作的时间过长!"  
  		location.href = "login.htm"  
	  </script>
<%end if%>
<%rs.close
set rs=nothing
conn.close
set conn=nothing%>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?