This year a new project, or use CefSharp, updated to 86, the same code to read cookies, and then couldn't read anything, check a lot of information, is full of all kinds of methods of reading cookies on the net, all useless, then I do the small project opened last year, found that also can not read anything, what's the matter? A face of meng ~ ~ now I suspect that is not a problem with the code? But what's the problem with the computer system?
Who have encountered such a thing? Pray god help!
Private void WebBrowser1_FrameLoadEnd (object sender, FrameLoadEndEventArgs e)
{
Var cookieManager=CefSharp. Cef. GetGlobalCookieManager ();
The BLL. CookieVisitor visitor=new BLL. CookieVisitor ();
The visitor. SendCookie +=visitor_SendCookie;
CookieManager. VisitAllCookies (visitor);
}
Private void visitor_SendCookie (CefSharp. Cookies obj)
{
Cookies +=obj. Value + Name + "=" + obj. "; ";
}
Code is probably the case, online search with a lot of money, didn't find other people have read not to come out
CodePudding user response:
The class of your own writing, you don't put the contents shown,Who knows: how do you do?
CodePudding user response:
The estimate is very difficult to someone can help you, demand is small, we also not all-wise,Proposals are submitted directly to making cef team isuuses
The cause of the individual may
1. CEF. The problem of the init
2. The rights and security of the reasons of the configuration
CodePudding user response: