![]() |
Session database error - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Session database error (/showthread.php?tid=62822) |
Session database error - nielscil - 08-30-2015 Hello I've got a problem with my codeigniter 3 setup. When I log in on the site from IP x and then I'm trying to go to site from IP y I got an error message: Code: Error Number: 1062 My session config: Code: $config['sess_driver'] = 'database'; And my database table: Code: CREATE TABLE IF NOT EXISTS `ci_sessions` ( Do you guys know how to fix this? RE: Session database error - PaulD - 08-31-2015 Does it happen if you set the config sess_match_ip to FALSE? RE: Session database error - Narf - 09-01-2015 https://github.com/bcit-ci/CodeIgniter/commit/20573bd472bdeaa831074e563f239585554ffaf5 RE: Session database error - nielscil - 09-04-2015 (08-31-2015, 03:20 PM)PaulD Wrote: Does it happen if you set the config sess_match_ip to FALSE? No, if I disable this option it works right. But using match ip is safer right? |