How would you go about knowing that ajax requests are related?
Normally with HTTP-HTML requests, cookies would store a md5 hash representing a session id.
I would like to add, my ajax calls are cross-domain.
Updated:
Example:
var data1 = 'asdf';
$.ajax({
url: 'http://differentdomain.com/ajax',
data: 'data1=' + data1
});
Now with this ajax request being made by many clients (browsers/computers). I would like to know that they originated from a single browser session. I thought using a session id might be a solution.
Is there a standard pattern for AJAX & session ids? I am using Java on the server-side.