How does cef perform session management

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

How does cef perform session management

Postby YogeshTembe » Fri Jun 23, 2023 1:16 am

I am new to cef and I know that whenever we browse a url the cookies associated to that url are stored in database present in cache.Once the browser window is closed and then opened again cef extracts these cookies from the database and sends it in the request to the browser to continue with the same session that was previously eastablished.I am curious to know how does cef extract these cookies from the database and how can I achieve the same if I don't wish to maintain the cache as I am using my own mechanism to store all browser cookies.
YogeshTembe
Techie
 
Posts: 23
Joined: Tue Sep 14, 2021 6:01 am

Re: How does cef perform session management

Postby magreenblatt » Wed Jul 05, 2023 3:55 am

You can use CefCookieManager to view/modify the cookies that are loaded. For an overview of cookie implementation see the Chromium docs.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 196 guests