On Sep 24, 1:22 pm, Eric <
LeFauv...@gmail.com> wrote:
> On Sep 24, 5:43 am, emwebdev <
emweb...@gmail.com> wrote:
>
> > Hi there
>
> Hi!
>
> > I need a way to uniquely identify a particular AJAX request / response
> > cycle through some kind of shared unique ID or similar.
>
> > The reason for this is that I have an AJAX "status" display on a page
> > which keeps a history of AJAX requests and their success / failure
> > results, but at the moment I am assuming that so long as the URL is
> > the same, then the response must be related. This works OK, but if
> > there are two AJAX requests to the same URL everything goes out the
> > window.
>
> Why don't you just add a dummy identifier to yor AJAX URL.
> Something like using "myajax.php?ID="+Date.now()
>
increment each time for the ID. I then use the ID in the server code