Welcome Guest, Not a member yet? Register   Sign In
CI3 - Are old sessions in file auto deleted from server
#1

Hi,

im using latest dev version of CI3 and have sessions saved in the filesystem. 

Here is an example of my config

Code:
$config['sess_driver'] = 'files';
$config['sess_cookie_name'] = 'domain';
$config['sess_expiration'] = 7200;
$config['sess_save_path'] = '/home/user/sessions';
$config['sess_match_ip'] = FALSE;
$config['sess_time_to_update'] = 300;

$config['cookie_prefix']    = 'domain';

$config['cookie_domain']    = '.domain.com';
$config['cookie_path']        = '/';
$config['cookie_secure']    = FALSE;
$config['cookie_httponly']     = FALSE;

My question is .. if the session id is being auto updated every 300 seconds and thus creating a new file in the sessions folder do the older ones get auto removed or is this something I need to put in place my self ?

Thanks to everyone for all your hard work on bringing CI3 to fruition. Good to see things progressing with CI again :-)
Reply


Messages In This Thread
CI3 - Are old sessions in file auto deleted from server - by futurewebs - 02-20-2015, 06:07 AM



Theme © iAndrew 2016 - Forum software by © MyBB