magreenblatt wrote:Cookie paths cannot be shared across multiple executable instances. You can instead create multiple browsers using the same executable instance, and those can share cookies. Each cookie manager instance will have separate seasion cookies that are not persisted to disk by default.
Cookie handling has changed drastically not long ago and I am unsure on how to achieve separate browser windows with separate session cookies. Beforehand it was easy: I just had to create my own cookiemanager via cookieManager = CefCookieManager.createManager(cookiePath.getAbsolutePath(), false);
and implement CefRequestContextHandler which gave back my cookiemanager.
Now the CefRequestContextHandler interface doesn't have the function to return a custom cookiemanager anymore, instead it has a complicated getResourceRequestHandler.
Can you help me in pointing me to the right direction? How can I have multiple browsers with separate cookies (at least separate session cookies that are not persisted)?
Thank you!