logout.asp
资源名称:txl.zip [点击查看]
上传用户:comthink
上传日期:2021-05-06
资源大小:1280k
文件大小:1k
源码类别:
WEB源码(ASP,PHP,...)
开发平台:
HTML/CSS
- <!--#include file="conn.asp"-->
- <!--#include file="inc/const.asp"-->
- <%
- dim activeuser
- membername=request.cookies("mathren")("realname")
- if session("userid")<>"" then
- activeuser="delete from online where id="&session("userid")
- Conn.Execute activeuser
- end if
- if membername<>"" then
- activeuser="delete from online where realname='"&membername&"'"
- Conn.Execute activeuser
- end if
- Response.Cookies("mathren").path=cookiepath
- Response.Cookies("mathren")("realname")=""
- Response.Cookies("mathren")("password")=""
- Response.Cookies("mathren")("userid")=""
- Response.Cookies("mathren")("skinid")=""
- session("userid")=""
- conn.close
- set conn=nothing
- response.redirect("index.asp")
- %>
English
