Hehe,

Finally found out what was going on. It seems that I was using a
Controller::redirect() in the action that I called to render another
action. Because of this HTTP redirect, Firefox immediately would drop
the X-Requested-With header, plus a few others. However, the HTTP
redirect worked with IE6/7, weird... I used a setAction instead.

On Jul 24, 10:26 pm, AD7six <[EMAIL PROTECTED]> wrote:
> On Jul 24, 3:34 pm, Steven Chan <[EMAIL PROTECTED]> wrote:
>
> > Yes js is enabled because the Ajax call actually works and data is
> > returned. However, not only is the action template rendered but the
> > layout is also rendered.
>
> Are you assuming that the header is missing, or you are 100% sure that
> is the case? If so it's a prototype/weird rooter or firewall
> (allegedly) problem.
>
> If you have any code in your app that does $this->layout =
> 'something', that will override what the requestHandler kindly does
> for you btw.
>
> Cheers,
>
> AD


--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to