Welcome Guest, Not a member yet? Register   Sign In
My ci_sessions table is empty?
#1

(This post was last modified: 04-18-2015, 02:09 PM by lexxtoronto.)

I set it in config.php

$config['sess_use_database'] = TRUE;
$config['sess_table_name'] = 'ci_sessions';

And set up a table in my database as ci_sessions. I'm able to retrieve session data via $this->session->all_userdata() so it sets session data locally, but my ci_sessions table is empty.

I load session library, set up config, am I missing anything else? It supposed to populate ci_sessions table automatically, right? Im not unsetting any session data yet.

Database is working fine, Im able to retrieve some other data, and load database in my login constructor.
Do the one thing you think you cannot do. Fail at it. Try again. Do better the second time. The only people who never tumble are those who never mount the high wire.
Reply


Messages In This Thread
My ci_sessions table is empty? - by lexxtoronto - 04-18-2015, 02:06 PM
RE: My ci_sessions table is empty? - by gadelat - 04-18-2015, 03:34 PM
RE: My ci_sessions table is empty? - by CroNiX - 04-18-2015, 03:36 PM
RE: My ci_sessions table is empty? - by CroNiX - 04-18-2015, 05:51 PM



Theme © iAndrew 2016 - Forum software by © MyBB