Save and load cookies after logging in
-
I'm just having an issue understanding the process of receiving cookies from the web, saving them, and loading them on next program boot.
For example, I'd like to open Gmail in the app, but I have to login each time. How do I save the login cookies and store them so the next time the application runs, I don't have to login each time.
There is QNetworkCookies, QNetworkCookieJar, QNetworkAccessManager, QWebEngineCookieStore, etc. And I've search the web quite a bit and seen all kinds of information for each of these classes and cannot figure out exactly the string of events to achieve this process. Also, going through some of the Qt examples, and they're not actually capturing what I'm trying to do.
Thanks for any help