Radical Design Course by Jack McDade

From the creator of Statamic

Learn how to make your websites standout and be remembered.

Just exceptional. Thank you so much, Jack, you smashed it.

— Hugo, 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 →