|
-
Mar 30th, 2001, 09:17 PM
#1
Thread Starter
Addicted Member
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
-
Mar 30th, 2001, 09:38 PM
#2
Addicted Member
What kind of authentication does the server use..
Is it the most common Anonymous authentication ?
Are the pages secured via Server Side programming ?
-
Mar 30th, 2001, 10:37 PM
#3
Thread Starter
Addicted Member
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 !
-
Apr 1st, 2001, 04:26 PM
#4
Addicted Member
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 ass@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.
-
Apr 1st, 2001, 04:46 PM
#5
Thread Starter
Addicted Member
Into a form.
Thanx for the reply !
-
Apr 2nd, 2001, 03:44 PM
#6
Thread Starter
Addicted Member
-
Apr 21st, 2001, 07:12 PM
#7
New Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|