title: Codeigniter confilcting sessions behind proxy
body: <p>We have a web applications that have just gone live. As this is used on several corporate networks, a peculiar issue has come up.  </p>
  
  <p>Users are able to login into the system but users that are behind corporate networks intermittently get logged in/view other users profiles as their own. Esentially the sessions are colliding. </p>
  
  <p>These are the current settings on the server :</p>
  
  <pre><code>$config['sess_cookie_name']     = 'cisession';
  $config['sess_expiration']      = 72000;
  $config['sess_expire_on_close'] = FALSE;
  $config['sess_encrypt_cookie']  = FALSE;
  $config['sess_use_database']    = FALSE;
  $config['sess_table_name']      = 'ci_sessions';
  $config['sess_match_ip']        = FALSE;
  $config['sess_match_useragent'] = TRUE;
  $config['sess_time_to_update']  = 300;
  </code></pre>
  
  <p>We are on amazon behind a load balancer on a LAMP stack.</p>
  
  <p>We're really pulling our hair on this one, any pointers are welcome. Thanks!</p>