Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. QML WebView deleting cookies

QML WebView deleting cookies

Scheduled Pinned Locked Moved Unsolved Qt WebKit
2 Posts 2 Posters 791 Views
  • 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.
  • Q Offline
    Q Offline
    QCharacter
    wrote on 15 Feb 2021, 16:49 last edited by
    #1

    Re: QML webview delete cookies

    Hi all, i am new to the Qt forum,so prior apologies for any inconsistent post standards.
    I am having a very similar problemt as mentioned in the Forum page above. To brief, i am using Qt 5.15 and developing an Android application to show a signin webpage page on QML Webview. Once the user logs in any webview session, the cookies are retained from the page (and maybe the page itself in the cache) and any further calls to the webpage return same session response values and the page doesn't load at all.
    I tried using Javascript, Dynamic Loading of Webview and even clearComponentCache() from the QQMLEngine but nothing seems to work.
    Since, it is a very basic need for client side browser settings do we have any clean way of doing the same.

    P.S: if i tried to implement the first solution mentioned in the abovbe post and on android, i am getting an error:
    "E chromium: [ERROR:database.cc(1707)] Cookie sqlite error 1032, errno 0: attempt to write a readonly database"
    I tried changing the QFile::Permissions but in vain.

    Anobody who can point me in the right direction, Please help!! Thanks in advance.

    1 Reply Last reply
    1
    • B Offline
      B Offline
      Bleach
      wrote on 14 Oct 2021, 18:28 last edited by
      #2

      @QCharacter. Hello. Have you solve this problem?

      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