Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for WebAssembly
  4. Save and access cookies from WebAssembly
Forum Updated to NodeBB v4.3 + New Features

Save and access cookies from WebAssembly

Scheduled Pinned Locked Moved Unsolved Qt for WebAssembly
2 Posts 2 Posters 866 Views 2 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
    Tobias Kolzer
    wrote on 22 Oct 2020, 12:00 last edited by
    #1

    In my current project I want to save some user properties, like Name, in the browser so that app can fill the fields automatically. Is there a pssibility to access coockies from qml or c++?

    1 Reply Last reply
    0
    • L Offline
      L Offline
      lorn.potter
      wrote on 23 Oct 2020, 06:09 last edited by
      #2

      You could use cookies from the javascript side:

      https://emscripten.org/docs/porting/connecting_cpp_and_javascript/Interacting-with-code.html

      Freelance Software Engineer, Platform Maintainer QtWebAssembly, Maintainer QtSensors
      Author, Hands-On Mobile and Embedded Development with Qt 5 http://bit.ly/HandsOnMobileEmbedded

      1 Reply Last reply
      2

      1/2

      22 Oct 2020, 12:00

      • Login

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