Keep
This method tells the Slim application to keep existing flash messages set in the previous request so they will beavailable to the next request. This method is helpful for persisting flash messages across HTTP redirects.
<?php
$app->flashKeep();