CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Posts
    1

    Logging into Web site programmatically

    I am writing an app that grabs Web pages and the Tear example from Microsoft is a good start. What I can't figure out is how to have my app login to a site that requires a user name and password.

    And, is there an explanation anywhere on how to use the HTTP request types for CHttpConnection::OpenRequest??


  2. #2
    Guest

    Re: Logging into Web site programmatically

    Hi Jeff!

    I'm currently in the process of writing a internet application myself and this is what I use:

    pConnection = session.GetHttpConnection(strServerName, nPort, strUserName, strPassword);

    Cheers,
    Marcel


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

Featured