title: Using jQuery AJAX to communicate with server, can I set a cookie/session?
body: <p>In my example, I am sending login details to a server-side script via AJAX that in turn sets a session/cookie variable.</p>
  
  <p>My question is will the cookie/session be set after I get a response, or do I actually have to visit the server-side script the regular way to set them?</p>
  
  <p>Thanks!</p>