| Dart Home | PowerTCP Web for ActiveX | Custom Development | Reply | PowerTCP Web for ActiveX Topics | Forums |
| Author | Forum: PowerTCP Web for ActiveX Topic: Netscape Proxy |
| User555 Posts: 3 Member Since: 12/18/00 |
posted December 18, 2000 12:39 PM I'm having trouble getting darthttp to work with Netscape Proxy Server 3.5. Are there any known issues with this? Is it a supported proxy server? |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted December 18, 2000 12:45 PM Are you using the most current DartWeb.Dll? Check the version at this link: http://www.dart.com/downloads/update.txt If so, what are the exact problems you are having and how can I duplicate them? |
| N/A | posted December 19, 2000 7:01 AM Basically, I have discovered a bug in the Dart web component when used with Netscape Proxy server 3.5. Having installed the November Dart update it is still present. This is causing me a major problem. FYI I purchased Dart web < 30 days ago. The ActiveX component I'm building runs inside IE5.5 and performs a HTTP GET on a webserver on the internet. The webserver returns a 302 response (a redirect) and my component extracts the redirect URL from the response text (the component’s redirect property is set to false to make this possible). All works fine when a proxy server is not in use. However, when using Netscape Proxy Server 3.5 with Authentication the http component merely returns an empty string and doesn’t raise any error messages indicating to me that something is broken inside. The following code fragment illustrates the point – by changing mvaruseproxy to false or true it either works or not (if you have the proxy server set up). The Proxy server is in production and works fine with IE and Netscape (you have to enter username and password at the beginning of the session and then it is transparent). Dim thehttp As New DartWeb.Http Dim theurl As String 'target url Dim mvaruseproxy As Boolean 'member variables for proxy info Dim mvarproxyaddress As String Dim mvarproxyun As String Dim mvarproxypw As String Dim shtmlresult As String mvaruseproxy = False 'toggle this variable to use / not use proxy mvarproxyaddress = "192.168.101.5:8080" mvarproxyun = "james" 'all users have accounts on the proxy mvarproxypw = "mypassword" 'to track utilisation theurl = "http://212.113.17.214:80/SightPath/root6/ROOT6/ROOT6REEL.asfx" 'This url can be used for testing - it is internet visible On Error GoTo handleError thehttp.Redirect = False 'so that we can get at the redirect information thehttp.Cache = False thehttp.Url = theurl thehttp.Timeout = 30000 If mvaruseproxy Then thehttp.Proxy = mvarproxyaddress thehttp.ProxyUsername = mvarproxyun thehttp.ProxyPassword = mvarproxypw End If thehttp.Get shtmlresult Debug.Print Len(shtmlresult) 'Length of what is returned - should be >0 when working handleError: If Err.Number <> 0 Then Debug.Print Err.Number & ":" & Err.Description End If |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted December 19, 2000 10:33 AM Is that the same as iPlanet Web Proxy Server? That's all I could find on their site. If you have a link to a trial please post it. |
| Reply | PowerTCP Web for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|