<% if _SESSION_ID ~= nil and _SESSION["username"] ~= 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) 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("
") %>