Page 1 of 1

Re: How to disable automatic cookie saving

Posted: Fri Apr 05, 2019 8:01 pm
by salvadordf
Hi,

The CookieVisitor demo has the code to list and delete all the cookies. It can be easily modified to delete individual cookies by adding the right parameters to Chromium1.DeleteCookies.

If that's not enough you can try to create a new browser with independent cache and cookies using the MDIBrowser demo. Just check the "Create a new request context for new browsers" box and create a new child browser.

If you don't set a GlobalCEFApp.cache property then CEF will use "in-memory" cache and the cookies will not be stored on disk.