title: Session data lost in Chrome only
body: <p>I have a problem similar if not identical to the problem in this thread:
  <a href="https://stackoverflow.com/questions/2953536/randomly-losing-session-variables-only-in-google-chrome-url-rewriting">Randomly Losing Session Variables Only In Google Chrome &amp; URL Rewriting</a></p>
  
  <p>But all solutions in that thread don't work for me. I'm getting a strange behavior from only Google Chrome in my PHP/MySQL App. If I try it with Firefox, it works, but Chrome doesn't.</p>
  
  <p>I navigate to some place in my shopping cart and at several places in the code I'll store session data. Don't worry about me starting the session or anything related to that, I've got 11 years in webapp dev, all is done fine.</p>
  
  <p>In all browsers, I can <code>var_dump($_SESSION)</code> and get my data back, but in Chrome it doesn't keep the data. Also note that the session does get passed on, I can look in the network monitor and I see the cookie being sent and many other things related to session work but that one <code>$_SESSION['last_viewed_element']</code> is not kept. I also can't seem to set anything else, all gets lost.</p>
  
  <p>EDIT:</p>
  
  <p>Problem resolved by switching from SESSIONS TO COOKIES...</p>