I bet in your view you are doing  and echo of the ->flash call, the
flash call in the view automatically echos, and returns true, so you
are echoing 'true' which is a one.

Sam D

On Thu, Apr 24, 2008 at 7:09 AM, 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.
>
>  Zoltan
>  www.nachogrid.ca
>  >
>



-- 
-- 
(the old fart) the advice is free, the lack of crankiness will cost you

- its a fine line between a real question and an idiot

http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/
http://blog.samdevore.com/cakephp-pages/my-cake-wont-bake/
http://blog.samdevore.com/cakephp-pages/i-cant-bake/

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to