New: Learn Statamic on Laracasts!

We've retired the forum in favor of GitHub Discussions.

New conversations can be started on GitHub. Existing conversations will remain for a while longer.

Head over to GitHub →

Redirect with cookie – user logout

Barnabas Szekeres December 5, 2018 by Barnabas Szekeres

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