Need help logging in on website with HTTPWebRequest

Discussion in 'C#' started by Resu, Dec 11, 2011.

  1. Resu

    Resu New Member

    Joined:
    Dec 11, 2011
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    Situation:

    - I'm trying to login on twoo.com (or m.twoo.com with android useragent, I prefere this)
    - I want to create a tool to catch notificataions
    - In Fiddler I can see that the webresponse is using an autoredirect to the valid login url (uri ending with "?login=1"). So the login worked!
    - In debug I can see that 5 cookies are added
    - I have experience with this and I have successfully logged in on other websites using this code

    But still the returned html is the login page instead of the logged in page! If I request the main url again, I'm not logged in. Please help!

    I'm trying to paste the code here but I keep getting an error on this board :s (Too many live links/images found in your post content. Please edit your post or contact the administrator.)
     
  2. Resu

    Resu New Member

    Joined:
    Dec 11, 2011
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice