1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Any of you successfully emulated the hotmail login?

Discussion in 'General Programming Chat' started by hatemachine, Jul 22, 2012.

  1. hatemachine

    hatemachine Regular Member

    Joined:
    Jan 14, 2011
    Messages:
    271
    Likes Received:
    1,138
    Without using the browser obviously. It seems that the server isn't assigning me the cookies I need. Please post only if you have successfully logged in and can give me a hint or two. :)
     
  2. Chris22

    Chris22 Regular Member

    Joined:
    Sep 29, 2010
    Messages:
    400
    Likes Received:
    1,059
    Are you using the .NET cookie container? There are known bugs with that.

    Also, make sure you are following 3XX requests.

    Can't help you much more without any more information.
     
  3. hatemachine

    hatemachine Regular Member

    Joined:
    Jan 14, 2011
    Messages:
    271
    Likes Received:
    1,138
    I know that the CookieContainer has its bugs, that's why I am handling the cookies myself. I am handling all the redirects, as I've said only someone who tried it would understand. It seems that some cookies are generated by js.
     
  4. Kiopa_Matt

    Kiopa_Matt Registered Member

    Joined:
    Jun 3, 2011
    Messages:
    99
    Likes Received:
    11
    PHP's cURL has excellent cookie handling.

    Plus also be sure to try HTTP Analyzer (Google it), to ensure you're sending the proper HTTP request.
     
  5. hatemachine

    hatemachine Regular Member

    Joined:
    Jan 14, 2011
    Messages:
    271
    Likes Received:
    1,138

    I wish people would read the OP before posting.

    "Please post only if you have successfully logged in"

    None of you have, so I don't see why you're trying to help if you haven't had the same issue. Whoever had tried to automate hotmail would know what I am talking about. I appreciate your attempt at help, but I am not new to automating the HTTP world.
     
  6. w84it

    w84it Regular Member

    Joined:
    Jun 18, 2009
    Messages:
    442
    Likes Received:
    752
    I have my apps login through
    Code:
    https://mid.live.com/si/login.aspx
    and they all work
    Try that out it might help.
     
  7. cuteprinces

    cuteprinces Registered Member

    Joined:
    Apr 27, 2008
    Messages:
    52
    Likes Received:
    1
    PM me if you still need help, I can probably send you my code.
     
  8. hatemachine

    hatemachine Regular Member

    Joined:
    Jan 14, 2011
    Messages:
    271
    Likes Received:
    1,138
    Thanks. But the issue is that you can't access the inbox using that mobile link.