Redirect with cookie – user logout

Is there any way to make a redirect with cookie? Especially when I want to logout the logged in user and forget some cookie.

Unfortunately the user:logout tag not handle the cookies, only the redirect url path.

(May should I make a custom site helper tag which will make an RedirectException or something else?)

Answered by Stefan Wanzenried!
>>>>>>> Answered <<<<<<<
3 Replies