Welcome Guest, Not a member yet? Register   Sign In
ci_session expires immediatly in chrome and IE9, working in Firefox


I'm working with CodeIgniter 2.1.3 and Flexi-auth.

When a user logs in and refresh or goes to another web the user is logout.

I tried to follow some instructions like change values in the config.php like:
$config['sess_cookie_name'] = 'cisession'; //'ci_session';
$config['sess_expiration'] = 43200; //7200
$config['sess_expire_on_close'] = TRUE; //FALSE
$config['sess_match_useragent'] = FALSE; //TRUE

but with no luck.

If I look the ci_session (or cisession in my case) cookie I can see that it has been created with a expiration value equal to the current time (so it's created to die).

In Firefox the cookie expires: "At end of session".

Any idea?,


Theme © iAndrew 2016 - Forum software by © MyBB