title: How can Javascript be prevented from accessing PHP cookie data?
body: <p>(Taken from a job interview)</p>
  
  <p>Which of the following answers are correct ?</p>
  
  <ul>
  <li>Use the <code>httponly</code> parameter when setting the cookie</li>
  <li>The user must turn off Javascript support</li>
  <li>It's a cookie setting in the browser</li>
  <li>Only the issuing domain can access the cookie</li>
  <li>One is on the client and the other is on the server, so it's not an issue</li>
  </ul>