Ajax / Native XMLHTTP and Proxies

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top