Sunday, March 1, 2009

Re: Security component breaks my ajax requests

Thanks that worked. But now im trying to blackhole a non ajax request,
and this doesnt seem to work either.

if (!$this->RequestHandler->isAjax()) {
$this->Security->blackHole($this, 'You are not authorized to process
this request!');
}

How exactly can I tell if the blackhole works, if I just get a white
page?
--~--~---------~--~----~------------~-------~--~----~
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 cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: