You need to understand how Cookies are writed.
Thery are HTTP Headers, so you may be giving an outdated value and
next the system gives a update value. Javascript writes the Cookies
after HTTP process, so the system values are irrelevant to it.
Try to use the Catalyst structure to manipulate them
Thank you for your response. But I am still having the same problem if I don't
use Javascript.
I added:
$c-delete_session('Logout'); in Root/default
$c-res-cookies
-{id} = {
value = [],
expires = time()-86400,
};
$c-res-cookies