• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ci_session expires immediatly in chrome and IE9, working in Firefox

#1
[eluser]davidinchi[/eluser]
Hello,

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?,

Best.



Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.