473,326 Members | 2,196 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Ajax / Native XMLHTTP and Proxies

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

Oct 5 '07 #1
0 1449

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: funkychicken818 | last post by:
This is the script. var reqTopCont; var reqBotCont; function changeTopContent(newUrl) { reqTopCont = false; // branch for native XMLHttpRequest object if (window.XMLHttpRequest) {
9
by: balakrishnan.dinesh | last post by:
hi frnds, Is Ajax can only used as xmlhttp or else it can use for anyother purpose, If any sample example code for that, plz reply to me soon. Thanks Dinesh B...
7
ak1dnar
by: ak1dnar | last post by:
Hi, I got this scripts from this URL There is Error when i submit the form. Line: 54 Error: 'document.getElementbyID(....)' is null or not an object What is this error. Complete Files
17
by: Arjen | last post by:
Hi, I want to reload 2 divs at one click. Ive tried: <a href = "javascript:void(0);"...
8
by: jd2007 | last post by:
Why the Ajax code below in ajax.js is causing my form not to work ? ajax.js: var a=0; var b=0; var c=0; var d=0; var e=0; var f=0;
2
by: mndprasad | last post by:
Hi friends, Am new to AJAX coding, In my program am going to have two texbox which going to implent AJAX from same table. One box is going to retrieve the value of other and vice...
1
by: agun | last post by:
Hello, I'm having problem implementing AJAX on IE7. In other browser it works totally fine. In IE7, if i enable the Enable Native XMLHTTP support, everything just went wrong. Here is the...
8
by: knkk | last post by:
Instead of an id getting its innerHTML changed, the entire page is getting refreshed with this function of mine (you may want to look just at the end of the function where there's an alert): ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.