title: Symfony authentication - can't get past login page in production
body: <p>I've set up Symfony authentication on my local dev server, it works perfectly in both prod and dev environments, today I registered a domain for testing and pushed my code up to an AWS EC2 server, I can get to the login page no problems but as soon as I try to login I get redirected straight back to the login page without any error. It seems as though when it is submitting to login_check it redirects straight back to /login. I've tried clearing and warming the production cache with and without debug, which doesn't seem to solve the problem. There are no errors in my prod.log file.</p>
  
  <p>Any suggestions on how to troubleshoot?</p>
  
  <p>Thank you. </p>
  
  <p><strong>Edit:</strong>
  This is showing up in the dev log:</p>
  
  <pre><code>[2012-03-26 22:52:59] security.INFO: Authentication request failed: Your session has    timed-out, or you have disabled cookies. [] []
  [2012-03-26 22:52:59] security.DEBUG: Redirecting to /login [] []
  </code></pre>
  
  <p><strong>Edit</strong> 
  Every time I refresh the page I get two new cookies sub.domain.com and .domain.com -- If i look on the server in the /tmp/ dir where the sessions are saved, 6 new sessions are created on each page refresh, the two that are shown in chrome dev tools both have no data inside them. This problem does not exist on my local dev server. Any suggestions on what could be causing this appreciated!!!</p>
  
  <p><strong>Edit -- Resolution</strong></p>
  
  <p>I deleted the cookies from Chrome and it suddenly started working. Not sure what the root of the problem was but all seems to be working just fine now. </p>