Cookie is not inserted for XMLHttpRequest

Hi,

I have the below scenario,

1.While accessing Index.html, server inserts a cookie and a JS file (request.js)

2 . request.js file collects some safari properties and posting it to the same web server like below, but during this call my cookie is missing.

Can you please help? I want to retain my cookie value for the JS initiated request.

Cookie is not inserted for XMLHttpRequest
 
 
Q