-
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
-
What kind of authentication does the server use..
Is it the most common Anonymous authentication ?
Are the pages secured via Server Side programming ?
-
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 !
-
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://user:pass@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.
-
Into a form.
Thanx for the reply !
-
-
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....