Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. Save and load cookies after logging in
Forum Updated to NodeBB v4.3 + New Features

Save and load cookies after logging in

Scheduled Pinned Locked Moved Unsolved QtWebEngine
1 Posts 1 Posters 288 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    TheLumbee
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved