On 5/19/06, John Zimmerman [gmail] <[EMAIL PROTECTED]
> wrote:
After you process the page use the $this->redirect() to the exact same page.
This should clear the values. Letting the code fall through will result in the values still being present.
The flash will work too, it just displays a message for a second and then you can have it redirect right back to where you were.
So...
$this->flash('Success', '/some_controller', 2);
or
$this->redirect('/some_controller');
On 5/19/06, josh southern <[EMAIL PROTECTED]> wrote:
It definitely isn't the browser, as I don't have the auto-fill feature
turned on.
And it's not that I couldn't use the flash() function, I just think
it's sort of silly. It would be much quicker for data input to just
display a message on top of another blank form. And the method I'm
trying to employ worked perfectly before version 1, so there is
probably a work-around.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake PHP" 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
-~----------~----~----~----~------~----~------~--~---
- unset($this->params['data']) Not Working??? josh southern
- Re: unset($this->params['data']) Not Workin... Armando Sosa
- Re: unset($this->params['data']) Not Wo... josh southern
- Re: unset($this->params['data']) No... AD7six
- Re: unset($this->params['data']... josh southern
- Re: unset($this->params['d... John Zimmerman [gmail]
- Re: unset($this->param... John Zimmerman [gmail]
- Re: unset($this->p... josh southern
- Re: unset($this->p... John Zimmerman [gmail]
- Re: unset($this->p... John Zimmerman [gmail]
- Re: unset($this->p... stephenrs
- Re: unset($this->p... John Zimmerman [gmail]
- Re: unset($this->p... AD7six
- Re: unset($this->p... AD7six
- Re: unset($this->p... John Zimmerman [gmail]
- Re: unset($this->p... stephenrs
- Re: unset($this->p... John Zimmerman [gmail]
