title: How to troubleshoot $_SESSION?
body: <p>I'm having an issue on my website I can't seem to troubleshoot. The site has a login that works fine, but the site sporadically logs users out.</p>
  
  <p>Steps:
  1. Login</p>
  
  <ol start="2">
  <li><p>Use site (usually won't log you out right away)</p></li>
  <li><p>Click on link (The links vary, doesn't seem to be isolated to a specific one)</p></li>
  <li><p>Get logged out</p></li>
  </ol>
  
  <p>The site has a 60-90 minute timer that is supposed to log people out, but for some reason I keep getting booted 5-30 minutes in.
  I have an MySQL_error function that reports errors but it doesn't report an error being present (otherwise I would post it). This error has been present for quite a while and I can't figure out how to troubleshoot it very well at all. I would be very grateful for any assistance! </p>
  
  <p>All of my pages use $_SESSION like so....</p>
  
  <p>if(isset($_SESSION['user_id'])) { <em>insert page coding here</em> }</p>
  
  <p>Else it logs you out. I have noted this abnormality on multiple computers and I don't think it's based on my computer settings.</p>