Quantcast
Channel: CodeIgniter Forums - All Forums
Viewing all articles
Browse latest Browse all 14346

Something worng with Sessions

$
0
0
I am using the latest version of CI Version 3.1.0

I have set my sessions like so in config

PHP Code:
$config['sess_driver'] = 'files';
$config['sess_cookie_name'] = 'cache.session.';
$config['sess_expiration'] = 1440;
$config['sess_save_path'] = BASEPATH 'cache/';
$config['sess_match_ip'] = TRUE;
$config['sess_time_to_update'] = 300;
$config['sess_regenerate_destroy'] = TRUE


Every time I reload the main login page it creates a new session file which is very annoying to me I do not know why it is doing that. I have only auto loaded the session library. I think may be a bug even when change to false still creates multiple files when reload.

PHP Code:
$config['sess_regenerate_destroy'] = FALSE


Any suggestions why it is creating multiple session files when reload page not even logged in.

.png   cache.png (Size: 44.45 KB / Downloads: 7)

Viewing all articles
Browse latest Browse all 14346

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>