Welcome Guest, Not a member yet? Register   Sign In
Share sessions outside CI

I'm using CI2 with ion_auth. Everything was working fine now 2 weeks later when I want to pickup the project again I notice that there is nothing being stored in the ci_sessions table. I'm trying to debug and trace back what I changed.

session_id are being generated, but just not stored in the ci_sessions table.

in my config file:
$config['sess_cookie_name']        = 'ci_session';
$config['sess_expiration']        = 7200;
$config['sess_expire_on_close']    = FALSE;
$config['sess_encrypt_cookie']    = TRUE;
$config['sess_use_database']    = TRUE;
$config['sess_table_name']        = 'ci_sessions';
$config['sess_match_ip']        = FALSE;
$config['sess_match_useragent']    = TRUE;
$config['sess_time_to_update']    = 300;

the server time seems fine.

Any help would be appreciated.


I was using this library to share sessions, however it seems that it overwrites ci sessions failing to store data into ci_sessions table: http://codeigniter.com/wiki/Native_session/

Is there an another session library that would extend CI sessions library or is there a way around this.

Theme © iAndrew 2016 - Forum software by © MyBB