Organizational Research By

Surprising Reserch Topic

Experts Most Trusted Topic


is there any known bug in session lib of codeigniter 2 1 0 why do i get kicked


is there any known bug in session lib of codeigniter 2 1 0 why do i get kicked  using -'php,codeigniter,codeigniter-2'

im working on a website which is created with CI 2.1.0.

the thing i’ve notice is sometimes when i reload a page couple of times or open couple of pages very fast or when i vahe a error in the code (these errors are not related to sessions ) i get logged out .

this website is using a lib called Ion_authand for identifications

public function logged_in()
 {
  $identity = $this->ci->config->item('identity', 'ion_auth');
  return (bool) $this->ci->session->userdata($identity);
 }


is there a bug or something that i should know about ?

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


in this website sessions get updated almost in every page
    

asked Sep 15, 2015 by ShoWeiland
0 votes
6 views



Related Hot Questions



Government Jobs Opening


...