CodeIgniter “flashdata” doesn't work

前端 未结 12 2000
灰色年华
灰色年华 2020-12-03 18:10

I use CodeIgniter 2.1.0, i want after insert data in database get a message like \"Your information was successfully updated.\". For this work i have in CI_Controller follow

12条回答
  •  一整个雨季
    2020-12-03 18:26

    Using sessions with database has caused me issues at times. I recommend setting $config['sess_use_database'] = FALSE; in the config.php and see if the flashdata works fine.

提交回复
热议问题