Using Flash Messages in Yii
Flash messages are a great way to use session based data to display messages to a user, typically in response to an action (e.g., successfully saving a record to the database). These can be success, error or information based messages.