<% if _SESSION_ID ~= nil and _SESSION["username"] ~= nil then if _SESSION["currentpath"] ~= nil then c_AddWebLog("User '".._SESSION["username"].."' logged out. (IP:".._REMOTE_IP..")",_SESSION_ID,DOMAIN_LOG_WEB_RESPOND) c_DoWebEvent(WEB_USER_DISCONNECT_EVENT,_SESSION_ID) end c_Logout(_SESSION_ID,_SESSION["username"],_SESSION["ipaddress"] or "") SessionModule.delete(_SESSION_ID) _SETCOOKIE = _SETCOOKIE.."Set-Cookie: UID=; expires=Thu, 01 Jan 1970 00:00:00 GMT\r\n" end print("
") %>