> > FWIW, I personally feel isAjax is quite unreliable (when under > Firewall) as it depends on HTTP_X_REQUESTED_WITH header. bare/ajax > would be ideal, IMHO. Hm? What Firewalls are filtering out HTTP headers? Is that some sort of "anonymous" feature? If you ask me this sounds really bad and hopefully is not popular enough to make it worth to put any effort into a work-around!
-- Felix -------------------------- http://www.thinkingphp.org http://www.fg-webdesign.de R. Rajesh Jeba Anbiah wrote: > Danielle Tilley wrote: > >> I am using Cake 1.2 >> >> I am trying to add the following function to my app_controller - from >> bakery article Redirects with Ajax - >> http://bakery.cakephp.org/articles/view/92 >> >> ======================================= >> function redirect($url, $status = null, $die = true) { >> if ($this->RequestHandler->isAjax() || isset >> ($this->params['requested'])) { >> > <snip> > > FWIW, I personally feel isAjax is quite unreliable (when under > Firewall) as it depends on HTTP_X_REQUESTED_WITH header. bare/ajax > would be ideal, IMHO. > > -- > <?php echo 'Just another PHP saint'; ?> > Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/ > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
