Welcome Guest, Not a member yet? Register   Sign In
User Remains Logged In After Browser Closes
#5

For any others stuck on this: Following the sessions instructions for "files" session driver, I created a directory in application, named ci_sessions. Set permissions to 700.

Then in config.php:
$config['sess_driver'] = 'files';
$config['sess_cookie_name'] = 'ci_session';
$config['sess_expiration'] = 0; //<-- changed from 7200
$config['sess_save_path'] = 'application/ci_sessions'; //<-- changed from NULL
$config['sess_match_ip'] = FALSE;
$config['sess_time_to_update'] = 300;
$config['sess_regenerate_destroy'] = TRUE; //<-- changed from FALSE
Reply


Messages In This Thread
RE: User Remains Logged In After Browser Closes - by johnosmond - 05-19-2017, 11:29 AM



Theme © iAndrew 2016 - Forum software by © MyBB