title: CORS - Server side cookie is not getting saved on chrome browser
body: <p>There is a node server which on accepting correct credentials of a user, passport js creates and sends a session cookie in request header by name of set-cookie.</p>
  
  <p>But when I do an <strong>ajax request</strong> from my chrome browser accepts the request it doesn't adds the cookie on the client side . so when a new request generates from client side , the server doesn't authenticates it and throws 401.</p>
  
  <p>I am confused whether it is a browser issue or an I am missing something from AJAX request</p>
  
  <p>Please help.</p>