mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-05 11:42:36 +00:00
WebBrowserExtensions.LoadUrlWithPostData - Set UrlRequestFlags.AllowCachedCredentials
Possible workaround for sending cookies Issue #2705
This commit is contained in:
@@ -364,6 +364,9 @@ namespace CefSharp
|
||||
|
||||
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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user