| Dart Home | PowerTCP Web for ActiveX | Custom Development | Reply | PowerTCP Web for ActiveX Topics | Forums |
| Author | Forum: PowerTCP Web for ActiveX Topic: Https posting |
| User955 Posts: 1 Member Since: 01/23/01 |
posted January 23, 2001 3:54 PM I am trying to post a username and password to the page however I am unable to do this. the page is https://ewave.alltel.com |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted January 23, 2001 4:13 PM What have you tried? What happened when you tried it? It looks to me like pressing "Submit" causes a POST to go to a page called "SignOnCtlr". The value would look like this: UserId=user&Password=pass&Submit+Data.x=67&Submit+Data.y=7 The code would be something like this: Option Explicit Const User = "test" Const Pass = "whatever" Private Sub Command1_Click() On Error GoTo OnError Command1.Enabled = False Http1.Timeout = 15000 Http1.Url = "https://ewave.alltel.com/Ewave/SignOnCtlr" Dim Result As String Dim s As String s = "UserId=" + User s = s + "&Password=" + Pass s = s + "&Submit+Data.x=67&Submit+Data.y=7" Http1.Post s, , Result Debug.Print Result GoTo Done OnError: Debug.Print "ERROR #" + CStr(Err.Number) + ": " + Err.Description Done: Command1.Enabled = True End Sub If that doesn't help, email us directly and supply a valid username and pass. If you have support we'll look into it. Thanks, Tony Priest Dart Tech Support |
| User941 Posts: 3 Member Since: 01/29/01 |
posted January 29, 2001 2:53 PM Tony, The code used for the summit button ("&Submit+Data.x=67&Submit+Data.y=7) where did you get numbers and what does it all denote? Thanks |
| User941 Posts: 3 Member Since: 01/29/01 |
posted January 29, 2001 3:00 PM Tony sorry I forgot to state that this part of the code does not work("&Submit+Data.x=67&Submit+Data.y=7") however if I change it to "&Submit+Data" + "=&images/submit_trans.gif" it will work. Do you know why this is working this way and if so will you tell me? Thanks |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted January 29, 2001 3:08 PM I got the string by using the WebServer tool and modifying the page to post to it instead. Then when the POST event fired, I looked at the raw request. Tony |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted January 29, 2001 3:09 PM I have no idea. Sorry, Tony |
| User941 Posts: 3 Member Since: 01/29/01 |
posted January 29, 2001 3:20 PM Tony sorry I forgot to state that this part of the code does not work("&Submit+Data.x=67&Submit+Data.y=7") however if I change it to "&Submit+Data" + "=&images/submit_trans.gif" it will work. Do you know why this is working this way and if so will you tell me? Thanks |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted January 29, 2001 4:26 PM I thought I answered this already, but I will again. Unfortunately my answer is "I have no idea" I'm sorry I couldn't help. Tony |
| Reply | PowerTCP Web for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|