CL Auth BETA v0.2.5

Newest Release: 17/08/2008

« Hide Menu

CI Config

You should configure your autoload.php and config.php to load CL Auth properly.

autoload.php

$autoload['libraries'] = array('database', 'CL_Auth');

config.php

$config['sess_cookie_name']	= 'ci_session';
$config['sess_expiration']	= 7200;
$config['sess_encrypt_cookie']	= FALSE;
$config['sess_use_database']	= TRUE;
$config['sess_table_name']	= 'ci_sessions';
$config['sess_match_ip']	= FALSE;
$config['sess_match_useragent']	= TRUE;
$config['sess_time_to_update'] 	= 300;

$config['sess_use_database'] must be set to TRUE to allow the Session class to work properly.

It is also recommended that you set $config['sess_match_useragent'] to TRUE.