System:SessionMessagingLog

From Aspen Documentation

The Sml class is used for passing messages between pages that are meant to be displayed to the user.

It eliminates the need to pass additional get/post variables and allows for much better ease of navigation without worrying about keeping your messages local to your display.

It also allows you to store the message history in the session.

Function Description
addNewMessage Adds a new message to session log.
getMessageLog Returns the original message log.
getMostRecentMessage Returns the most recent message.
printMessage Prints the most recent unread message.