title: Error 310 (net::ERR_TOO_MANY_REDIRECTS):
body: <p>What is this error:</p>
  
  <pre><code>Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many redirects.
  </code></pre>
  
  <p>I use PHP CodeIgniter and library <a href="http://codeigniter.com/wiki/SimpleLoginSecure/" rel="nofollow">SimpleLoginSecure</a>, this is my code:</p>
  
  <pre><code>if ($this-&gt;session-&gt;userdata('logged_in')) {
      redirect('admin/index');
  }
  </code></pre>
  
  <hr>
  
  <p>How can I resolve this error?</p>
  
  <p>Regards</p>