The session:flash tag is used to store data for a single request.


Flash data is only kept for a single request. It is generally used for success/failure messages that remove themselves automatically.

Setting and retrieving flash data works in exactly the same fashion as regular session data.

{{ session:flash success="true" message="You did it!" }}

The next (and only next) request will then have those variables available for you.

{{ session:success }} ~> true
{{ session:message }} ~> You did it!
Last modified on November 6, 2018