📄 logout.asp
字号:
<!-- #include file = "../include/asphead.asp" -->
<!-- #include file = "../include/function.asp" -->
<link href="../include/main.css" rel="stylesheet" type="text/css">
<%
dim IP
IP = getClientIP()
set WExcelEnv=server.CreateObject("WExcel.UserAuth")
if WExcelEnv.CheckDBConn(ErrNo,ErrDesc) then
dim WExcel
set WExcel=server.CreateObject("WExcel.UserAuth")
WExcel.Logout cint(UserID),cstr(IP)
Response.Cookies("Login")=""
else
GoExceptPage("/hcgis/error.asp?ErrNo=" & ErrNo)
end if
CheckErr
dim LoginFrom
LoginFrom=Request.Cookies("Temp")("LoginFrom")
%>
<script ID="clientEventHandlersJS" LANGUAGE="javascript">
<!--
function ReLogin()
{
var LoginFrom;
LoginFrom=document.frmData.LoginFrom.value;
window.navigate(LoginFrom);
}
function Close()
{
window.close();
}
//-->
</script>
<html>
<head>
<title><%=AppTitle%></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body>
<TABLE WIDTH=50% align=center BORDER=0 CELLSPACING="2" CELLPADDING=0>
<TR height=200>
<TD colspan=2>
已退出,欢迎再来。
</TD>
</TR>
<TR>
<TD>
<INPUT name=btnLogin onClick='ReLogin()' type="button" value='重新登录' style="cursor:hand; WIDTH: 80px; HEIGHT: 24px">
</TD>
<TD>
<INPUT name=btnLogin onClick='Close()' type="button" value='关闭' style="cursor:hand; WIDTH: 80px; HEIGHT: 24px">
</TD>
</TR>
<form METHOD="post" name="frmData">
<input TYPE="hidden" NAME="LoginFrom" value="<%=LoginFrom%>">
</form>
</TABLE>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -