My controller file for logout function is: Secure.php Function for logout is :
public function logout() {
session_start();
$this->session->sess_destroy();
redirect('stream', 'refresh');
}
After using sess_destroy(), I am getting previous session data. Why I am getting this even I have used sess_destroy()??
Comments
Post a Comment