diff --git a/CefSharp/WebBrowserExtensions.cs b/CefSharp/WebBrowserExtensions.cs index c628d9b1ae..6cef046d15 100644 --- a/CefSharp/WebBrowserExtensions.cs +++ b/CefSharp/WebBrowserExtensions.cs @@ -364,6 +364,9 @@ public static void LoadUrlWithPostData(this IWebBrowser browser, string url, byt request.Url = url; request.Method = "POST"; + //Add AllowCachedCredentials as per suggestion linked in + //https://github.com/cefsharp/CefSharp/issues/2705#issuecomment-476819788 + request.Flags = UrlRequestFlags.AllowCachedCredentials; request.PostData.AddData(postDataBytes);