private static void BindDefaultForceAppcacheCookieToSession(HttpApplication httpApplication, HttpContext httpContext) { string a; string text; RequestDispatcher.GetIE10ForceAppcacheCookies(httpContext, out a, out text); if (a == "1" && !string.IsNullOrEmpty(text)) { RequestDispatcher.AddAlreadyForcedCookie(httpContext, text); } }
private static bool ForceIE10ReloadToUseAppcacheIfNotAlreadyDone(HttpApplication httpApplication, HttpContext httpContext) { bool result = false; string text; string text2; RequestDispatcher.GetIE10ForceAppcacheCookies(httpContext, out text, out text2); if (text != "1" && (string.IsNullOrEmpty(text) || text2 != text)) { string cookieValue = string.IsNullOrEmpty(text2) ? "1" : text2; RequestDispatcher.AddAlreadyForcedCookie(httpContext, cookieValue); RequestDispatcher.SendJavascriptReload(httpApplication, httpContext); result = true; } return(result); }