remember that the automatic redirect only works with a DEBUG set to 0
in the config/core.php
for other debug levels you have to manually click on the link
Sam D
On 8/1/06, anir <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I am new to cakephp. In my controllers after adding a record, I am
> trying to use flash() to display a confirmation mesage and redirect to
> my home page. But the problem is although it is showing the message in
> the next page but it is far from redirecting it to the index page. It
> is showing the message and stands there.
>
> The line is:
>
> $this->flash('Your note has been added.','/notes/',3);
>
> I was initially trying with :
>
> $this->flash('Your note has been added.','/notes/');
>
> But both are not working. I have tested this on both IE and firefox.
>
> I am working in windows xp with apache. I have configured apache for
> mod_rewrite and it is working properly.
>
> Thanking you all in advance.
>
> - Anir
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---