Radical Design Course by Jack McDade

From the creator of Statamic

Learn how to make your websites standout and be remembered.

For a software dev like me who has no idea how to create a cute hand-drawn dashed line, this course just 100% works.

— Ira Zayats, Developer

Session:Flush Tag

The flush tag will wipe the entire user session. This will also sign a user out if they're signed in.

Example

{{ session:flush }}

That's all there is to it. How you use it is up to you. You may want to tuck this away behind an if statement or a unique URL.

Did you know? In Australia the session flushes the other way. 🇦🇺

Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →
Hello there! Are you looking for the Statamic v2 documentation?