public function close() {
		if (DEBUG_MODE) {
			BLog::addToLog('[Users.Session]: close()');
		}
		setcookie('brillsecret', '', time() - 3600, '/', BHOSTNAME);
		if (DEBUG_MODE) {
			BLog::addToLog('[Users.Session] close session');
		}
		if (!$db = BFactory::getDBO()) {
			return false;
		}
		$bCache = BFactory::getCache();
		if ($bCache) {
			$bCache->delete('session:' . $this->sessionid);
		}
		$q = $db->Query('delete from sessions where sessionid=' . $db->escapeString($this->sessionid));
		if (empty($q)) {
			BLog::addToLog('[Users.Session]: close(): Could not execute query! MySQL error: ' . $db->lasterror(), LL_ERROR);
			return false;
		}
		return true;
	}