| Dart Home | PowerTCP Web Enterprise for ActiveX | Custom Development | Reply | PowerTCP Web Enterprise for ActiveX Topics | Forums |
| Author | Forum: PowerTCP Web Enterprise for ActiveX Topic: WebASP No Proxy |
| User283 Posts: 3 Member Since: 01/28/02 |
posted January 28, 2002 2:38 PM I am using WebASP to do a simple GET. If I run with a proxy it works great. Of course I have a client who runs without one and it seems never to return. If I turn on trace I get the whole body but the application (in VB) is hung on the .Get never to return. Any help would be greatly appreciated. Another comment on this is that if my URL has a cgi with parameters it will fail if I have a bare url it does return. |
K M Drake![]() From: Utica, NY USA Posts: 3406 Member Since: 07/14/00 |
posted January 28, 2002 5:40 PM Hi, Does the PageFetch sample work on the client's machine? Thanks, -ken K M Drake Dart Tech Support |
| User283 Posts: 3 Member Since: 01/28/02 |
posted January 28, 2002 5:52 PM Yes, it does. It uses the http control. In the example I have, I instantiate the WebASP control and then operate on it and then discard it. The code is similar to: Set WebAsp1 = New WebASP With WebAsp1 .Request.Content = "" .Request.Url = psURL1 & psURL2 .Redirect = webRedirectNone If GetProxyEnable Then .ProxyType = ptNone .ProxyHost = GetProxyHost .ProxyPort = GetProxyPort Else .ProxyType = ptNone .ProxyHost = "" .ProxyPort = 0 End If .ProxyUsername = "" .ProxyPassword = "" .Request.KeepAlive = False .Timeout = 45000 .Request.Version = webHTTP10 .Security = 0 If psCertificate <> "" Then .Certificate = lCertificate End If ' check if username & Password supplied If psPassword <> "" Then .Request.Password = psPassword End If If psUserName <> "" Then .Request.Username = psUserName End If ' get the page .Get End With lsBody = WebAsp1.Response.Body.ReadString Set WebAsp1 = Nothing |
K M Drake![]() From: Utica, NY USA Posts: 3406 Member Since: 07/14/00 |
posted January 29, 2002 9:48 AM Hi, Does the WebAsp PageFetch sample work? Thanks, -ken K M Drake Dart Tech Support |
| User283 Posts: 3 Member Since: 01/28/02 |
posted January 29, 2002 11:20 AM Where is it? Did my sample code make sense? |
K M Drake![]() From: Utica, NY USA Posts: 3406 Member Since: 07/14/00 |
posted January 29, 2002 12:38 PM Hi, From the Start Menu: PowerTcp->Web Enterprise Tool->WebAsp Control Samples From a cursory glance I did not see anything glaringly wrong with your code. The forum is not the venue for code review, however (please contact our sales staff for your support options). -ken K M Drake Dart Tech Support |
| Reply | PowerTCP Web Enterprise for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|