Welcome Guest, Not a member yet? Register   Sign In
Logout problem

Hello Developers ,

We have problem with our website  , users are logged out randomly ! these are the cookies configs , Please help

PHP Code:
$config['encryption_key'] = 'swexds'// front end

$config['sess_driver'] = 'files';
$config['sess_cookie_name'] = 'ci_session_front';
$config['sess_expiration'] = 60*60*24*365// full year
$config['sess_save_path'] = APPPATH ."storage/sessions";
$config['sess_match_ip'] = FALSE;
$config['sess_time_to_update'] = 300;
$config['sess_regenerate_destroy'] = TRUE;

$config['cookie_prefix'   'xrd_'// front end
$config['cookie_domain'   '';
$config['cookie_path'       '/';
$config['cookie_secure'   FALSE;
$config['cookie_httponly'    TRUE

Can you please help us because this is urgent ?

have you tried changing the sess_cookie_name i encounter this once. when two ci session with the same sess_cookie_name the other one logout

Theme © iAndrew 2016 - Forum software by © MyBB