Results 1 to 9 of 9

Thread: Problem with Qnetwork cookies and getting code after login

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2013
    Posts
    8
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Problem with Qnetwork cookies and getting code after login

    first of all i would like to thank you for helping me so much.

    I call
    Qt Code:
    1. ndlink();
    To copy to clipboard, switch view to plain text mode 
    from main.cpp file. After your post I also tried to call it in a consturctor but it gives same resullts.

    My problem is that I post with url "https://www.tamo.lt/dienynas1.html?s=namu_darbai/" and after that, page redirects me to somethink like /index.php

    and after that redirection, I want to come back again to "https://www.tamo.lt/dienynas1.html?s=namu_darbai/". But what ever I try it still gives me that index.php

    P.S.

    If you're not busy and would like to help me, maybe you can help me through Pm or maybe another platform like skype. I believe it would be easier and faster.
    Last edited by DomantasB; 13th November 2013 at 15:07.

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Problem with Qnetwork cookies and getting code after login

    Quote Originally Posted by DomantasB View Post
    I call
    Qt Code:
    1. ndlink();
    To copy to clipboard, switch view to plain text mode 
    from main.cpp file.
    How did you make sure to do that after the post has succeeded?

    You don't seem to emit any signal in the slot connected to finished().

    After your post I also tried to call it in a consturctor but it gives same resullts.
    In the constructor of what?

    My recommendation is to follow your own idea, i.e. you posted in NOv 7tth
    Quote Originally Posted by DomantasB View Post
    So if i understand you correctly i should remove those to gets and put them in different function. After i run function with POST and it finishes I should run
    function with gets?
    Not sure why you are trying to do something different now, that sounded right.

    Cheers,
    _

Similar Threads

  1. Replies: 3
    Last Post: 30th October 2013, 13:45
  2. Replies: 1
    Last Post: 9th January 2012, 07:26
  3. Login Problem
    By srichand in forum Qt Programming
    Replies: 1
    Last Post: 9th May 2008, 12:37

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.