Login  
Search All Forums
Dart Home | PowerTCP Web for ActiveX | Custom Development Reply | PowerTCP Web for ActiveX Topics | Forums   
AuthorForum: PowerTCP Web for ActiveX
Topic: ProxyBypass not getting set
N/A posted March 15, 2001 11:21 AM

Dim Http1
Dim m_oProxyBypass
Set Http1 = Server.CreateObject("Dart.Http.1")
Set m_oProxyBypass = Server.CreateObject("Dart.DartStrings.1")
m_oProxyBypass.Clear
Http1.Proxy = "www.mydomain.com:80"
m_oProxyBypass.Delimiter = ";"
m_oProxyBypass.Add "*.mydomain.com"
Http1.ProxyBypass = m_oProxyBypass

Response.Write "Proxy BP = " & sProxyBP

set m_oProxyBypass = Nothing
Set Http1 = Nothing 

OUTPUT:
Proxy BP =

Why isn't the ProxyBypass being set. Also, I will actually have more than one ProxyBypass. Ex.
"*.mydomain.com;127.0.0.0;123.456.789.0"
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted March 15, 2001 12:08 PM


What is sProxyBP? I don't see you dimming it anywhere?

Thanks,

Tony Priest
Dart Tech Support

N/A posted March 15, 2001 1:39 PM

Sorry, I miss three lines of code.

dim sProxyBP
sProxyBP = "" 'I have tried with and without this line
sProxyBP = Http1.ProxyBypass
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted March 15, 2001 1:43 PM


ProxyBypass is DartStrings object. You are dimming something, setting it to a string, and then setting it to a Dartstrings.

I'm not sure what would happen in that scenario, but I'm sure it's not what you want!

Tony
N/A posted March 15, 2001 1:50 PM

I am trying to set the ProxyBypass property of the HTTP1 object and then read from this property to verify that it was set correctly.

I am creating a DartString object, setting its delimiter property and adding items to the object. I am then setting the Http1.ProxyBypass property to the DartString object. How do I then read the Http1.ProxyBypass property to ensure it has been set correctly?

Thanks for your help.
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted March 15, 2001 1:55 PM


Http1.ProxyBypass.All

Tony
Reply | PowerTCP Web for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX