|
Hi Joe! Ajax is a little bit counter-intuitive in some ways. First off, the requests always go back to the same server. In fact, when you format an Ajax request, you leave off the "http://server" portion of the request; it assumes it will be going back to the original server. I have had good luck formatting my response in such a way that it shows up in the browser if I invoke it directly. That is, whatever URL I expect to pass to the XMLHttpRequest call, I test that URL by simply typing it into the address bar of my browser (I prefix it with the http://server/ portion). That allows me to make sure each request is working correctly. If you can do that and your XMLHttpRequest still isn't working, then I'm not sure what the problem might be. Joe
From: Joe Harriman Can anyone tell me where/which server the XMLHttpRequest is processed on the i5? I have been creating web pages with CGI since the last century and just recently got into AJAX. I know I'm a little late. Sometimes, I currently do a call from a CGI program to another CGI program and my new page will kick off. I try to do the same with AJAX and my call does not work. This leads me to believe that the i5 is running these two requests in different servers.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.