title: Set cookie without page refresh
body: <p>I am showing a jQuery overlay when users first visit a particular page</p>
  
  <p>They have a radio button in the overlay that they can click to say they do not wish to see the notification again</p>
  
  <p>I want to set a cookie that the user doesnt want to see the overlay again</p>
  
  <p>Is it possible to set the cookie without refreshing the page?</p>
  
  <p>I was going to make a ajax call back to the server and then set the cookie in the response headers but I guess they wont get set in an Ajax request/response?</p>
  
  <p>Is it safe / OK to set the cookie purely from javascript? Or is that a bad idea?</p>
  
  <p>any other options?</p>