Radical Design Course by Jack McDade

From the creator of Statamic

Learn how to make your websites standout and be remembered.

This course is the most refreshing take on teaching design that I've come across.

— Mikaël Sévigny, Developer

Session:Forget Tag

Remove variables from the user session by passing the names of the variables into the keys parameter.

Example

Pass multiple keys by delimiting them with a pipe.

{{ session:forget keys="likes|referral" }}
Hot Tip!

The entire session can be wiped with the session:flush tag. Always wipe and flush, folks.

This is the humor you came for and the software you (maybe) paid for.

Docs feedback

Submit improvements, related content, or suggestions through Github.

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