N
NonNB
Hi
Please excuse the long message.
We have users who want to access our Intranet systems via the Internet
across an Aventail VPN - the VPN establishes a 'local' proxy on the
user's PC, and the VPN tunnel then adds a dynamic PAC file to the
connection's Proxy settings (basically, the PAC file sets the rule
that "only" traffic heading for the VPN is to be proxied - everything
else is left alone).
This works fine for web pages on IE, but all our app's XMLHTTPRequest
calls fail - this is because XMLHTTPRequest isn't able to 'use' the
dynamic PAC file.
Unfortunately the VPN creates the Proxy on a random port each time,
which isn't going to help either (can we pass a PAC file to the
XMLHTTPRequest before calling?)
We tried setting the XMLHTTP proxy manually (using ProxyCFG), however,
to no avail. (Is there a 'native' ServerXMLHttpRequest component?)
I know that there were serious issues with the ActiveX XMLHTTP and
ServerXMLHTTP components and proxies, however, seem to be having the
same issues with the native XMLHttpRequest object in IE 7.
Does anyone have have experience on XMLHTTPRequest and Proxies, or
should we give up and pursue e.g. Hidden Windows / IFRAMEs etc for
"SOAP" type calls?
Regards
Stuart
Please excuse the long message.
We have users who want to access our Intranet systems via the Internet
across an Aventail VPN - the VPN establishes a 'local' proxy on the
user's PC, and the VPN tunnel then adds a dynamic PAC file to the
connection's Proxy settings (basically, the PAC file sets the rule
that "only" traffic heading for the VPN is to be proxied - everything
else is left alone).
This works fine for web pages on IE, but all our app's XMLHTTPRequest
calls fail - this is because XMLHTTPRequest isn't able to 'use' the
dynamic PAC file.
Unfortunately the VPN creates the Proxy on a random port each time,
which isn't going to help either (can we pass a PAC file to the
XMLHTTPRequest before calling?)
We tried setting the XMLHTTP proxy manually (using ProxyCFG), however,
to no avail. (Is there a 'native' ServerXMLHttpRequest component?)
I know that there were serious issues with the ActiveX XMLHTTP and
ServerXMLHTTP components and proxies, however, seem to be having the
same issues with the native XMLHttpRequest object in IE 7.
Does anyone have have experience on XMLHTTPRequest and Proxies, or
should we give up and pursue e.g. Hidden Windows / IFRAMEs etc for
"SOAP" type calls?
Regards
Stuart