logout.asp

来自「这是ASP的OA」· ASP 代码 · 共 15 行

ASP
15
字号
<!--#include file="const.asp"-->
<%
if request.Cookies("matrix3")("matrix3_name")<>"" then
	call opendb()
	conn.execute("delete from m3_online where name='"&trim1(request.Cookies("matrix3")("matrix3_name"))&"'")
	call closedb()
end if
session.Abandon()
response.Cookies("matrix3")("matrix3_name")=""
response.Cookies("matrix3")("matrix3_pw")=""
response.Cookies("matrix3")("matrix3_admin")=""
response.Cookies("matrix3")("usercookies")=""
'response.Cookies("matrix3").path="/bbs/"
response.Redirect("index.asp")
%>

⌨️ 快捷键说明

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