CodeIgniter “flashdata” doesn't work

前端 未结 12 2004
灰色年华
灰色年华 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:44

    I had the same problem. After checking the code I have found, that I am calling $this->session->sess_destroy();, which causes the problem.

提交回复
热议问题