Results 1 to 7 of 7

Thread: Https secure login & MS Internet Transfer Control

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 2000
    Location
    Québec, Canada
    Posts
    212

    Question

    I don't know if this is possible;

    I want to know if I want to Create an app to get the HTML code of a page behind a secure web page which uses cookies.

    I have my login name & password and I don't know how to send the information to the web page so I can access to the web page after validating.

    I've tried several things :

    https://login:pass@webpage
    https://webpage?Password=Password+MemberID=login
    and so on...

    None of these things worked.

    How would you create this app ? I mean, I've almost never used this control except for auto-update and auto-mail apps.

    If you have any tips, they'll be greatly appreciated, since this is for a company wishing to access its prices charts in real-time without having to log on every webpages and to update its database after (no problem there, though).

    Thanks for any input !

    Regards,

    El-nino
    Last edited by eL_NiNo; Mar 30th, 2001 at 09:20 PM.
    Regards,

    El-Nino

  2. #2
    Addicted Member Active's Avatar
    Join Date
    Jan 2001
    Location
    Lat: 13° 4' 46" N, Long: 80° 15' 20" E
    Posts
    209
    What kind of authentication does the server use..
    Is it the most common Anonymous authentication ?
    Are the pages secured via Server Side programming ?
    If you can't beat your computer at chess, try kickboxing !!!
    [Download Tag Editing Tools.]

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Oct 2000
    Location
    Québec, Canada
    Posts
    212
    mmmm Actually... How can I determine those things ?

    All i know is that the pages are secured (https)
    And the authentification is done via ASP and it uses cookies.

    Hope it helps to clarify !
    Regards,

    El-Nino

  4. #4
    Addicted Member JasonGS's Avatar
    Join Date
    May 2000
    Location
    California
    Posts
    155
    When you "login", do you type your username/password into the browser authentication dialog (HTTP Autentication) or a web page form?

    If its the first of the two, the http://userass@site method will work, if its a web page, you need to view the source of the "login" page and find out what CGI script they are POSTing your login info too.

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Oct 2000
    Location
    Québec, Canada
    Posts
    212
    Into a form.

    Thanx for the reply !
    Regards,

    El-Nino

  6. #6

    Thread Starter
    Addicted Member
    Join Date
    Oct 2000
    Location
    Québec, Canada
    Posts
    212
    Anyone ?
    Regards,

    El-Nino

  7. #7
    New Member
    Join Date
    Apr 2001
    Posts
    12
    Your suppose to be able to pass the UserName and Password with the Inet Control....

    Like here's to logon to an FTP site

    Private Sub Command1_Click()
    Inet1.UserName = "Username"
    Inet1.Password = "Password"
    Inet1.URL = "ftp://YourFTPServer"
    Inet1.Execute , "DIR"
    End Sub

    I haven't been able to log on myself this way but I am on the first version of VB 6. I'm about to update to Service Pack 5 and see if that helps.

    As a workaround. I have dropped a browser window into my code just to pull up the login form and manually login, then I run the code I am working on....

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