SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict
    Join Date
    Jan 2007
    Location
    Romania
    Posts
    203
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    sending more than one request to different servers in the same time

    Hello,

    I am sure you did not understood nothing from the thread title, so I am about to explain my problem: I have to build a site that requests some data (based on a search form) from different site that offer the same services only different prices, advantages, disadvantages. I communicate with other sites through xml: I send a request and server is answering me using xml. My question is, how can I send the same data to different servers at the same time (relative)? Because I have to wait some time if I send same request to server 1, then to server 2, then to server 3 ... server n.

    A good example is http://www.hotelscomparison.com.

  2. #2
    SitePoint Member msiedle's Avatar
    Join Date
    Sep 2006
    Location
    Brisbane
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't think it's possible (at least not to my knowledge of how web requests work) ...it's a sequential process as you say ...server 1, then 2 ... n
    "Soundness of method is the only key to
    reliable performance." -- Bobby Jones

  3. #3
    SitePoint Addict
    Join Date
    Jan 2007
    Location
    Romania
    Posts
    203
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes, that's why I wrote relative.

    I found only two possibility to do this: (1) with Ajax and (2) using frames. I will use Ajax, I think is more elegant than using frames and/or iframes.


Bookmarks

Posting Permissions

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