Dear All,
I am looking for a way to clear, set, and get embedded browser cookies, this is necessary for my login flow. However I haven't managed to figure out how to do so. Here is my progress:
1. Tizen::Web::Controls::Web::ClearCookie() seems not working. It returns success, but the page still remembers cookies from the previous app run.
2. I couldn't figure out how to get Tizen::Net::Http::HttpCookieStorageManager from Web, if it is possible. It would do half of what I would like to do.
3. I could have an Tizen::Web::Controls::ILoadingListener, with it, I could watch Set-Cookie headers in OnWebDataReceived. However, it's only a one way ticket, because I see no way to modify outgoing requests to have the Cookie header I'd like.
4. I could set a custom header, so custom cookies with LoadUrl(). This could work for the first load, however, I couldn't handle server redirects with this approach, where the embedded browser's cookie store would kick in.
5. Clearing, setting cookies with javascript was one of my ideas, but I can't do that before the page is loaded, so it does not really help.
I would appreciate if you could provide me some directions.
Thanks!
Zsolt