Hello folks,
I am searching all over the web. Maybe somebody can help me here.
We are using a proxyscript that routes you to the appropriate proxy depending on the ip segment your workstation is in.
It looks like that:
function FindProxyForURL(url, host)
{
if(isInNet(myIpAddress(),"10.0.161.0","255.255.255.0")) {"return proxy1-1:80";}
return "proxy1-2:80";
}
That works fine with the IE and FF.
Unfortunately it does not work when the Java client takes action. If a PC is in the 10.0.161.0 /24 segment, the Java client gets routet to proxy1-2. This inavoidable results in errors because the proxy1-2 is not reachable out of the 10.0.161.0 /24 segment.
The Java client is configured to use the Browser-network-settings and running the Java client in debug mode shows that it is taking the right proxyscript but for some reason does not work with the: "isInNet(myIpAddress..." - command.
Can somebody help me?
Kind regards