📄 check.asp
字号:
<%
'转入主要页面时检查是否已经登陆
Dim adu,adp,adi,chk
If Session("Username")="" or Session("Password")="" or Session("PatientID")="" Then
Response.Redirect "Login.asp"
Else
adu = Replace(Session("Username"),"'","")
adp = Replace(Session("Password"),"'","")
adi = Replace(Session("PatientID"),"'","")
Set chk = Conn.Execute("Select username,password From [USER] Where username='"&adu&"' and password='"&adp&"' and ID="&adi)
If chk.Eof and chk.Bof Then
Response.Redirect "Login.asp"
End if
End if
chk.Close
Set chk=Nothing
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -