protected override IAsyncResult BeginExecuteCore(AsyncCallback callback, object state)
        {
            string     lang       = null;
            HttpCookie langCookie = Request.Cookies["culture"];

            if (langCookie != null)
            {
                lang = langCookie.Value;
            }
            else
            {
                var userLanguage = Request.UserLanguages;
                var userLang     = userLanguage != null ? userLanguage[0] : "";
                lang = string.IsNullOrEmpty(userLang) ? LanguageMngr.GetDefaultLanguage() : userLang;
            }
            LanguageMngr.SetLanguage(lang);
            return(base.BeginExecuteCore(callback, state));
        }