You shouldn't do redirects in a view.
Seems like an incorrect approach... and btw, you can always use
header() if absolutely necessary (although it's probably not).

On Sep 23, 10:53 am, "Gabriel Kolbe" <[EMAIL PROTECTED]> wrote:
> Hi doc
>
> Thanks for the reply, but how do I redirect in a view which does not
> have a model or controller?
>
> On Tue, Sep 23, 2008 at 1:26 PM, dr. Hannibal Lecter
>
> <[EMAIL PROTECTED]> wrote:
>
> > Of course, why not :)
>
> >http://api.cakephp.org/class_controller.html#903188d3de83bd65c78bb676...
>
> > On Sep 23, 2:00 pm, gabriel <[EMAIL PROTECTED]> wrote:
> >> Wouldn't it be great if cake adds a straight PHP equivalent on it's
> >> manual pages, for instance I want to redirect a page in straight PHP
> >> it would be '  header("Location: index.php"); '  does any one know how
> >> to do this in CAKE ?
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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