Welcome Guest, Not a member yet? Register   Sign In
[Solved] Something worng with Sessions
#1

(This post was last modified: 08-03-2016, 06:48 PM by wolfgang1983.)

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.

Attached Files Thumbnail(s)
   
There's only one rule - please don't tell anyone to go and read the manual.  Sometimes the manual just SUCKS!
Reply


Messages In This Thread
[Solved] Something worng with Sessions - by wolfgang1983 - 08-02-2016, 10:26 PM
RE: Something worng with Sessions - by cartalot - 08-03-2016, 09:30 AM
RE: Something worng with Sessions - by InsiteFX - 08-03-2016, 05:53 PM



Theme © iAndrew 2016 - Forum software by © MyBB