[Proto-Scripty] Re: Adding unique ID to AJAX request / response objects

2008-09-28 Thread emwebdev
Thanks to everyone for their help. In the end, the following code sufficed for my needs: var uid = function() { var id = 0; return function() { return id ++; } }(); Ajax.Responders.register ({ onCreate: function(request) {

[Proto-Scripty] Re: Adding unique ID to AJAX request / response objects

2008-09-24 Thread Eric
On Sep 24, 5:43 am, emwebdev [EMAIL PROTECTED] 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

[Proto-Scripty] Re: Adding unique ID to AJAX request / response objects

2008-09-24 Thread ColinFine
On Sep 24, 1:22 pm, Eric [EMAIL PROTECTED] wrote: On Sep 24, 5:43 am, emwebdev [EMAIL PROTECTED] 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