Code Igniter with ion auth not working: Unable to load the requested class: Session
<p>So while using ionauth on CI I get the error as follows </p>

<blockquote>
  <p>Unable to load the requested class: Session</p>
</blockquote>

<p>I've done the following things.</p>

<p>Copy the files from IonAuth folder to my CI project</p>

<p>Change the autoload.php</p>

<pre><code>$autoload['libraries'] = array('database', 'session', 'ion_auth', 'uri');
</code></pre>

<p>In my config.php</p>

<pre><code>$config['sess_driver'] = 'files';
$config['sess_cookie_name'] = 'ci_session';
$config['sess_expiration'] = 7200;
$config['sess_save_path'] = NULL;
$config['sess_match_ip'] = FALSE;
$config['sess_time_to_update'] = 300;
$config['sess_regenerate_destroy'] = FALSE;
</code></pre>

<p>and</p>

<pre><code>$config['encryption_key'] = 'uns';
</code></pre>

<p>But I still get the error and I really have no idea why.</p>