protected override void OnRequested(HttpGet httpGet, IGameResponse response) { try { GuestUser user = null; if (_sessions.ContainsKey(httpGet.RemoteAddress)) { user = _sessions[httpGet.RemoteAddress]; } ActionFactory.Request(httpGet, response, GetUser); if (user != null) { httpGet.LoginSuccessCallback(user.UserId); } } catch (Exception ex) { Console.WriteLine("OnRequested error:{0}", ex.Message); } }