📄 tre_login.asp
字号:
<!--#include file="../conndb/conn.asp"-->
<%
'处理考试登陆
getstuid = replace(trim(request("stuid")),"'","''")
getpassword= replace(trim(request("password")),"'","''")
rssql = "select * from Tab_student where ID = '"&getstuid&"' and PWD = '"&getpassword&"'"
set rs = conn.Execute(rssql)
if(rs.eof)then
response.redirect("../Login.asp?id=false")
else
session("stuid") = getstuid
session("pwd") = getpassword
'session("proid") = rs("profession")
'session("log_time") = now();
response.redirect("../Main.asp")
End if
rs.close
set rs = nothing
conn.close
set conn = nothing
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -