Hi,
i want to delete all cookies on logout, but it is not working, only when i put this "if" into login.
public function logoutAction() {
if (!empty($_COOKIE)) {
foreach ($_COOKIE as $name => $value) {
setcookie($name, $value, time() -1);
}
}
$this->auth->remove();
return $this->response->redirect('index');
}
Rgds Stefan