Results 1 to 6 of 6

Thread: Vb6: Get cookies and post cookies with custom control

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2016
    Posts
    224

    Vb6: Get cookies and post cookies with custom control

    I have this custom control called: NetSvervhttp.ctl
    i want to grab and post cookies with it
    i tired: Text1.Text = NetSvervhttp1.getCookies
    but it didnt work, it showed empty response
    anyone can help to get cookies with that control
    thank you so much
    Attached Files Attached Files

  2. #2
    Fanatic Member
    Join Date
    Aug 2016
    Posts
    673

    Re: Vb6: Get cookies and post cookies with custom control

    .getAllResponseHeaders

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Mar 2016
    Posts
    224

    Re: Vb6: Get cookies and post cookies with custom control

    Quote Originally Posted by xxdoc123 View Post
    .getAllResponseHeaders
    .getAllResponseHeaders
    Compile error:
    Method or data member not found

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Mar 2016
    Posts
    224

    Re: Vb6: Get cookies and post cookies with custom control

    i understood the problem today but i cant fix it;
    if i am not logged into the website and i click: Text1.Text = NetSvervhttp1.getCookies , i get this: session=deleted;PHPSESSID=deleted;
    but when im logged in and i click: Text1.Text = NetSvervhttp1.getCookies , i get nothing.
    please help to fix this

  5. #5
    Fanatic Member
    Join Date
    Aug 2016
    Posts
    673

    Re: Vb6: Get cookies and post cookies with custom control

    Why do you think that the authentication type is a cookie?

  6. #6

    Thread Starter
    Addicted Member
    Join Date
    Mar 2016
    Posts
    224

    Re: Vb6: Get cookies and post cookies with custom control

    Quote Originally Posted by xxdoc123 View Post
    Why do you think that the authentication type is a cookie?
    i dont understand what you mean
    i first of all login to the site using username + pass, and soon as im logged in want to grab cookies

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width