Codeigniter session doesn't store session data with using database |
my settings in config file
PHP Code: $config['sess_driver'] = 'database';//'files'; My Controller PHP Code: public function index() {
$config['sess_save_path'] = 'sessdata';//NULL;//dbname - is NOT dbname but session table. Did you follow the steps in the manual? Also, you can try one of my tutorials: http://avenir.ro/codeigniter-tutorials/s...deigniter/
Website: http://avenir.ro
i just removed "." from
PHP Code: $config['cookie_domain'] = '';//here And everything works fine now.I don't Know whats the prob with it (02-06-2015, 04:26 AM)Vimal Wrote: i just removed "." from ...And also you've changed your thread code... Website: http://avenir.ro
Because i know that was table name i just marked and commented this line.
"'sessdata';//NULL;//dbname" |
Welcome Guest, Not a member yet? Register Sign In |