Im creating a authentication for my web (currently im using codeigniter as my php framework).
How come when i set TRUE in the $config['sess_use_database'] = TRUE;
my session data’s disappears and doesn’t display in part of the page. Im trying to display the username of the person who login to the site.
When the $config['sess_use_database'] = FALSE; the username displays in the page.
anyone experience this problem? how can i resolve this?
You need to create database table to store session data:
And then set
$config['sess_table_name'] = 'ci_sessions';http://codeigniter.com/user_guide/libraries/sessions.html