<!--#include file="../Inc/Conn.asp" -->
<!--#include file="../Inc/SK.Session.asp"-->
<%
set rs=server.createobject("adodb.recordset")
sql="select * from SK_SystemUsers where SK_Name='"&session("UserName")&"' and UsersID="&Session("UID")&""
rs.open sql,conn,1,3
conn.execute(sql)
rs("SK_Online")=0
rs.Update
rs.Close
Set RS=Nothing
Conn.Close
Set Conn=Nothing
Session("UID")=""
Session("Dept1")=""
Session("Dept2")=""
Session("Dept3")=""
Session("UserName")=""
Session("Oname")=""
Session("Password")=""
Session("PopedomList")=""
Session("Manager")=""
Session("Locked")=""
Session("Perty")=""
Response.Redirect "Login.asp"
Response.end
%>