toxtli / cefpython

Automatically exported from code.google.com/p/cefpython
1 stars 0 forks source link

Allow for separate cookie management for each browser #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In RequestHandler::GetCookieManager if you return NULL a global cookie manager 
will be used. If you do not want to share cookies across browsers 
CefCookieManager object should be returned here, you can create one with a call 
to:

    CefCookieManager::CreateManager(string cache_path)

If cache_path is empty then data will be stored in memory only. A global cookie 
manager also uses memory by default, unless you set 
ApplicationSettings.cache_path.

Original issue reported on code.google.com by czarek.t...@gmail.com on 23 Oct 2012 at 7:45

GoogleCodeExporter commented 9 years ago
There is no api in CEF to get CookieManager for specific browser, only 
CefCookieManager::GetGlobalManager(), so if we allow for seperate managers we 
should keep them in PyBrowser.

Original comment by czarek.t...@gmail.com on 23 Oct 2012 at 8:04

GoogleCodeExporter commented 9 years ago
By default CefCookieManager supports only http and https schemes, to make it 
work for custom schemes need to call CefCookieManager.SetSupportedSchemes().

Original comment by czarek.t...@gmail.com on 23 Oct 2012 at 8:09

GoogleCodeExporter commented 9 years ago
See revision ee118504ee40.
Cookie support was sponsored by Cyan Inc.

Original comment by czarek.t...@gmail.com on 27 May 2013 at 9:27

GoogleCodeExporter commented 9 years ago
Project will move to Github. Find this issue at the new address (soon): 
https://github.com/cztomczak/cefpython/issues/19

Original comment by czarek.t...@gmail.com on 24 Aug 2015 at 6:25