title: Safari's annoying cookie problem. How do I work around it effectively?
body: <p>In case you dont know what safari's cookie problem, here's are a link to it: <a href="https://stackoverflow.com/questions/1144894/safari-doesnt-set-cookie-but-ie-ff-does">Safari doesn&#39;t set Cookie but IE / FF does</a>.</p>
  
  <p>I got some problem with it. Compared to the answer in the link I have a user-login cookies set with user-id and hash. In the login page(login.php) I have :</p>
  
  <pre><code>&lt;form action="serverScripts/login/checkLogin.php" method="post"&gt;
          &lt;input type="text" name="loginUserName" id="loginUserName" class="loginForms" value="E-mail" /&gt;
          &lt;input type="password" name="loginPassword" id="loginPassword" class="loginForms" value="Password" /&gt;
          &lt;input type='submit' id="signInButton" class='button' value='Sign in'/&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>If it verifies correctly with the database the <code>checkLogin.php</code> scripts set the cookies and redirects the user to index.php. But the problem is that Safari don't set cookies on http 302 statuses, which enoyes me pretty much. all other web browser does it. But the answer in the link I provided said that I shall set the cookies on the entry? If I understand correctly that means on my login.php page. How can I do that? via AJAX(I must verify the user with username and password!) very ineffective I think. Is there an another solution to this problem? Hate Safari the link is one year old hasn't corrected the Safari bug yet.</p>