[eluser]BrianDHall[/eluser]
I would suggest building your message functions into a library which will itself keep track of messages using sessions. I generally dislike flash data, as I believe it is better to set it normally and then check for its existence and if unneeded kill it, or if used then use it and then kill it.
Then you load your message library, or auto-load it, and refer to it like:
Code:
$this->Message->add_message('login', "Login successful!", 'optional boolean flag - if set will be unset after printing');
//$this->Message->echo_message('login);
$this->Message->echo_messages();