I know similar questions has been asked but didn't find answer in the discussions.
I want to destroy a session through a function in the application but it is not working. Is the issue with cache or cookies. I would like to know exactly what I should do.
My code is as shown below;
public function logoutAction(){
$this->session->destroy();
return $this->response->redirect('');
}
The session id is still set when I ran the above.