Thanks for your reply! Yes, i have ensured that the response on the
server side is correct, its just that its not sending the response in
the response object. Can you tell me how i can make new Ajax objects
for each new Ajax call? because this code :- new Ajax.Request(), makes
only a new ajax request instance. Perhaps that might help?

On Apr 21, 4:34 pm, "T.J. Crowder" <t...@crowdersoftware.com> wrote:
> Hi,
> Are you sure this isn't caused at the server side?  For instance, can
> you replicate the behavior if the calls just request static files?  It
> would be extremely surprising if Ajax calls in different windows
> (browser tabs are different windows) interacted with each other at
> all, other than the common two-concurrent-requests-to-the-same-
> endpoint limit (but if you run into that -- and you probably do --
> they'll just queue, not come back empty).  My money is on the server
> stuff (JSPs, struts, whatever) being the culprit and not handling
> overlappings requests in the same session correctly.
> --
> T.J. Crowder
> tj / crowder software / com
> Independent Software Engineer, consulting services available
> On Apr 21, 11:17 am, NN <nitu.nived...@gmail.com> wrote:
> > When an user tries to send AJAX requests simultaneously from multiple
> > browser tabs, one request gets completed and the page loads but the
> > other AJAX calls are preempted. As a result of which the response is
> > empty for the other calls. Only one call survives. In my application
> > using struts 2.0, JSP and javascript and the prototype framework, i
> > found that the server response is empty in the cases mentioned above
> > though the data gets updated in teh database with the request
> > parameters. The onSucess event handler for Ajax.request gets called
> > but the the response is empty.
> > Can you please help?
> > Thanks- Hide quoted text -
> - Show quoted text -
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to