Dart Home | PowerTCP Web for ActiveX | Custom Development | Reply | PowerTCP Web for ActiveX Topics | Forums |
Author | Forum: PowerTCP Web for ActiveX Topic: HTTPS Posting |
CraftyDoom From: Roseville, CA USA Posts: 4 Member Since: 11/02/03 |
posted November 2, 2003 12:17 AM I know I'm just missing something here, but this is my code: '* Add our values and pass the cookie str_Cookie = "nametype=" & str_NameType & "&FirstName=" & vstr_FirstName & "&LastName=" & vstr_LastName & "&next=" & vlng_Next & "prev=" & lng_Prev & "&Initial=" & str_Initial & "&City=" & str_City & "&biz_name=" & str_Biz_Name & "&biz_city=" & str_Biz_City & "" '* Check for navigation buttons If str_NavButton <> "" Then str_Cookie = str_Cookie & "&NavButton=" & str_NavButton End If str_Cookie = CleanUpPost(str_Cookie) With Http2 .Url = "https://scoweb.sco.ca.gov/NASApp/scoucp/GetAddrList" .Timeout = 12000 .Post str_Cookie, , FetchSource End With After this I just get a Access Error. What am I missing? |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted November 2, 2003 12:08 PM There's probably other cookies or session variables you need to add. |
CraftyDoom From: Roseville, CA USA Posts: 4 Member Since: 11/02/03 |
posted November 15, 2003 8:21 AM What is the simplest way to determine the session or cookies that might be needed? |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted November 15, 2003 11:29 AM I usually use a protocol analyzer (like Ethereal) to spy on a session between IE and the server. If I can't do that, I save a copy of the page locally, then change all the "ACTIONS" so that they point to localhost. Then I start the Debug server program that we ship with our or products. Now, when the page requests something, the window on the Debug server pops up and I can see the exact request that IE sent. |
CraftyDoom From: Roseville, CA USA Posts: 4 Member Since: 11/02/03 |
posted November 17, 2003 12:48 AM Thanks for the info. I tried Ethereal, but it went beyond my knowledge to decode. I also tried the Debug server and that worked great, but I could only get it to work on 80 (http) and not 443 (https). On 80 the header info is exactly what I'm sending. Does http vs. https make any diference? |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted November 17, 2003 8:42 AM Please define "get it to work." What happened when you tried port 443? Were there any error messages. |
CraftyDoom From: Roseville, CA USA Posts: 4 Member Since: 11/02/03 |
posted November 17, 2003 11:20 AM Sorry 'bout that. The server responds, but the entries are all encrypted and unreadable. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted November 17, 2003 11:26 AM Yes. Unfortunately that's a problem with SSL. I have posted a secure version of the debug server here: http://support.dart.com/downloads/genericsecureserver.zip Try that if you want, but it would probably be easier to modify the local page so that the url says "http" instead of "https" |
Reply | PowerTCP Web for ActiveX Topics | Forums |
This site is powered by
![]() |