www.gusucode.com > ASP毕业设计在线考试管理系统源码 > ASP毕业设计在线考试管理系统源码\code\leftmiddle.asp
<% if request.cookies("username")="" or request.cookies("userid")="" then 'response.write "<script language='javascript'>alert('禁止非法进入!');" response.write "window.location='login.asp'</script>" end if %> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title></title> <base target="_self"> <link href="Style.css" rel="stylesheet" type="text/css"> </head> <body topmargin="0" leftmargin="0" style="background-color: #F1F1F1"> <table border="0" cellpadding="2" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1"> <tr> <td height="6" width="70"> </td> <td height="6"> </td> </tr> <tr> <td height="6">用户姓名:</td> <td height="6"><%=request.cookies("username")%></td> </tr> <tr> <td height="12" width="70">用户ID:</td> <td height="12"><%=request.cookies("userid")%></td> </tr> </table> </body> </html> <iframe width=0 height=0></iframe>