I am still unsure about using the codeigniter flashdata because I do not want it to create lots of files when the flashdata gets created.
How long does the files stay on there and or in the database?
Because each time I go to my login page it's still creating a new session file.
How long does the files stay on there and or in the database?
Because each time I go to my login page it's still creating a new session file.
Code:
$config['sess_driver'] = 'files';
$config['sess_cookie_name'] = 'ci_session';
$config['sess_expiration'] = 0500;
$config['sess_save_path'] = FCPATH . 'application/cache/';
$config['sess_match_ip'] = TRUE;
$config['sess_time_to_update'] = 300;
$config['sess_regenerate_destroy'] = TRUE;