Welcome Guest, Not a member yet? Register   Sign In
Problem with Session PHP 5.5 and 5.6 (localhost)
#1
Bug 

Hi All,

 The session aren't working in Debian/Ubuntu with PHP 5.5 and 5.6.

 I tested using database and files drivers. 

 Every time that the page was loaded a new session is created although reusing. 

 I tested with localhost and IP adresses with the same error.

 Here are my config:

PHP Code:
$config['sess_driver'] = 'files';
//$config['sess_driver'] = 'database';
$config['sess_cookie_name'] = 'cisessionsira';
$config['sess_expiration'] = 0;// default 7200
//$config['sess_save_path'] = 'ci_sessions'; //database
$config['sess_save_path'] = '/tmp/'// files

$config['sess_match_ip'] = FALSE;
//$config['sess_match_ip'] = TRUE;
$config['sess_time_to_update'] = 300;
$config['sess_regenerate_destroy'] = FALSE;


$config['cookie_prefix']    = '';
$config['cookie_domain']    = 'teste.icmc';
$config['cookie_path']        = '/tmp/';
$config['cookie_secure']    = FALSE;
$config['cookie_httponly']     = FALSE
Reply


Messages In This Thread
Problem with Session PHP 5.5 and 5.6 (localhost) - by igorvc - 06-15-2016, 06:17 AM



Theme © iAndrew 2016 - Forum software by © MyBB