Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript How-To
| Search | Today's Posts | Mark Forums Read
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old May 26th, 2009, 08:34 AM
Authorized User
Points: 169, Level: 3
Points: 169, Level: 3 Points: 169, Level: 3 Points: 169, Level: 3
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Apr 2008
Location: Northampton, , United Kingdom.
Posts: 35
Thanks: 1
Thanked 0 Times in 0 Posts
Default Using "Asynchronous PreRequest Handler"

I have read an article http://msdn.microsoft.com/en-us/library/aa480507.aspx which talks about a workaround for IE's limit of two simultaneous asynchrnoous connections and wonder if anyone has tips or code examples that can help me get a working example.

The end result that I am aiming for is to have one webpage, which contains a button ... when clicked, takes a paramater (say, customer account number) and passes it to several different, external web services to capture data from the services.

Each service may, or may not return information and will take a varying amount of time to do so.

We are therefore expecting the page to connect asynchronously and simultaneously to all services and display the results as they are processed, thereby the results should all have appeared on screen by the time that the slowest services has responded.

So, far we have code (javascript) which connects asynchronously, but found that IE will only allow two connections at a time, queueing further requests until a connection becomes available. This does speed up the overall time, but not what we're after.

The above mentioned article intimates that the solution will have no problems handling this situation.

If anyone can offer any help, information, useful links or even some sample code, it would be appreciated.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Which storage engine for "Post for sell goods" website taev MySQL 2 May 8th, 2009 02:53 PM
Code not going as planned: "icicle" vs "savedinstancestate" joopthecat BOOK: Professional Android Application Development ISBN: 978-0-470-34471-2 3 May 3rd, 2009 03:09 PM
Chapter-5 on Intents:ContactPickerTester does not show the button "Pick a Contact" sunilm12 BOOK: Professional Android Application Development ISBN: 978-0-470-34471-2 3 April 15th, 2009 11:55 AM
What "build in" funtionality can databound controls use (like GridV.) use with mySQL? allan_ravn ASP.NET 3.5 Professionals 0 April 14th, 2009 03:20 PM
How to download Code in "Professional Active Server Page 3.0 " book. renjith0 All Other Wrox Books 2 April 2nd, 2009 05:06 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.