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