You're using echo to display the session flash. Remove the echo call
and you'll be fine.
(btw, this is listed on the FAQ page)
On Apr 24, 3:09 pm, Zoltan <[EMAIL PROTECTED]> wrote:
> I'm doing this bit that resets the user's password that set-up a flash
> message using:
>
> $this->Session->setFlash('Your new password has been e-mailed to
> you.');
> $this->redirect('/users/login/');
> exit(0);
>
> This displays on the next screen as "Your new password has been e-
> mailed to you.1"
>
> I'm not sure where the "1" is coming from.
>
> Zoltanwww.nachogrid.ca
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---