title: How to solve "redirect loop" in Chrome?
body: <p>I'd implemented a simple time-out mechanism for my website which stores instant of last user activity in the <code>$_SESSION</code> array. </p>
  
  <p>It checks when a request is sent to the server. If its more than 20 mins since the last request, I log out the user and the user is sent to the login page.</p>
  
  <p>But I get this "redirect loop" message which shows up on Chrome. Is there a common mistake that I am making?</p>
  
  <p>(Do I need to tinker with server-side settings?)</p>
  
  <p>Thanks.</p>