codeigniter_tutorial
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
CodeIgniter<br />
Destroying a Session<br />
In PHP, we are using the session_destroy() function to destroy the session and in<br />
CodeIgniter we can destroy the function as shown below.<br />
$this->session->sess_destroy();<br />
After calling this function, all the session data including the flashdata and tempdata<br />
will be deleted permanently and cannot be retrieved back.<br />
64