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. Problems in Session Handling in webKIt
Forum Updated to NodeBB v4.3 + New Features

Problems in Session Handling in webKIt

Scheduled Pinned Locked Moved Qt WebKit
2 Posts 1 Posters 2.1k 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.
  • D Offline
    D Offline
    divanshu
    wrote on last edited by
    #1

    HI all,

    I am trying to use qtwebkit. but when i try to render a page where i neeed to handle a sessions like (gmail , yahoo or linkedin) , i am not able to maintain session using qtwebkit.
    i tried to used qnetworkcookiesjar in my application but still not able to do.

    @
    QNetworkAccessManager manager = new QNetworkAccessManager();

    QNetworkProxy proxy = new QNetworkProxy(ProxyType.HttpProxy,"proxy--.com", 8080);
    manager.setProxy(proxy);
    QNetworkDiskCache diskcache = new QNetworkDiskCache();
    diskcache.setCacheDirectory("c:/d/");
    QNetworkCookieJar cookies = new QNetworkCookieJar();

    manager.setCookieJar(cookies);

    manager.setCache(diskcache);
    page.setNetworkAccessManager(manager);
    page.settings().setMaximumPagesInCache(10);

    @

    I am using qtjambi so using Java in my coding.

    Please point me where I am doing wrong.

    Thanks

    1 Reply Last reply
    0
    • D Offline
      D Offline
      divanshu
      wrote on last edited by
      #2

      help needed ..

      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