Welcome Guest, Not a member yet? Register   Sign In
Why am I logged out after a short period?
#3

Hi, thanks for answering.
I am new to CodeIgniter. We just copied the site to a new server, but we didn't write the code. The funny thing is everything worked fine in the old server and it also works in my local PC. We didn't change much.

These are session related settings:

PHP Code:
$config['sess_driver'] = 'files';
$config['sess_cookie_name'] = 'ci_session';
$config['sess_expiration'] = 7200;
$config['sess_save_path'] =  'sess';
$config['sess_match_ip'] = FALSE;
$config['sess_time_to_update'] = 300;
$config['sess_regenerate_destroy'] = FALSE

Cookie settings:

PHP Code:
$config['cookie_prefix'] = '';
$config['cookie_domain'] = '';
$config['cookie_path'] = '/';
$config['cookie_secure'] = FALSE;
$config['cookie_httponly'] = FALSE
Reply


Messages In This Thread
RE: Why am I logged out after a short period? - by ratmil - 06-27-2019, 05:48 AM



Theme © iAndrew 2016 - Forum software by © MyBB