public void addClient(Member client, ulong sessionID)
 {
     ClientSession newSession = new ClientSession(client, sessionID);
     clientDB.Add(newSession.sessionID, newSession);
     ArrayList clientSessions = new ArrayList(1);
     clientSessions.Add(newSession.sessionID);
     sessionTable.Add(client.privateUserInfo.userID, clientSessions);
 }
        public bool updateClient(Member client, ulong sessionID)
        {
            if(client == null)
                return false;

            object clientSessionObj = clientDB[sessionID];
            if(clientSessionObj == null)
                return false;

            ClientSession clientSession = (ClientSession)clientSessionObj;
            ClientSession newSession = new ClientSession(client, clientSession.sessionID);
            clientDB[clientSession.sessionID] = newSession;
            return true;
        }