logout.asp
来自「JSP ACCESS版的论坛源码 深圳盈盈通」· ASP 代码 · 共 22 行
ASP
22 行
<!--#include file="conn.asp"-->
<!-- #include file="inc/const.asp" -->
<%
if request.cookies("liulang")("username")<>"" then
activeuser="delete from online where username='"&membername&"'"
Conn.Execute activeuser
end if
if session("userid")<>"" then
activeuser="delete from online where id="&session("userid")
Conn.Execute activeuser
end if
conn.close
set conn=nothing
Response.cookies("liulang").path=cookiepath
Response.cookies("liulang")("username")=""
Response.cookies("liulang")("password")=""
Response.cookies("liulang")("userclass")=""
session("userid")=""
response.redirect("index.asp")
%>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?