XMLHTTP object and more

Results 1 to 3 of 3

Thread: XMLHTTP object and more

  1. #1
    Join Date
    Dec 1969

    Default XMLHTTP object and more

    Hey,<BR><BR>I&#039;m having some problems with the XMLHTTP object. <BR><BR>I&#039;m using the object to retrieve XML off a remote page. This remote URL is actually a login page, that is supposed to automatically search for a cookie for authentication and then go ahead and go to the XML data. So there&#039;s some redirection going on there, that is fine when I do it in a browser window. <BR><BR>However, when I use the XMLHTTP object to get the data from the original URL, it returns me the HTML from the first login page, as opposed to the XML it would have returned had the redirection completed. How do I "wait" for this redirection to happen?<BR><BR>Thanks<BR>Paul

  2. #2
    Join Date
    Dec 1969

    Default How is the redirection..

    .. working on the other site?

  3. #3
    Join Date
    Dec 1969

    Default If it uses Response.Redirect...

    ...then *you* are responsible for accessing the next page.<BR><BR>You should be getting a 200-series response from the server, telling you where to go to instead.<BR><BR>And if you aren&#039;t supplying the cookie when you use XMLHTTP, then the authentication isn&#039;t going to work in any case.<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts