How do I print a message when opening a page, for example:
I'm on page Cliente/View
and when I'm redirected to Nfe/index
page, I want to print a message with instructions on what to do, pulling some data from Cliente/View
.
I tried to use
$this->Session->setFlash('mensagem');
But I continued with no results, only the message is displayed when I return to page Cliente/View
again.