Hi Miles, Jose,

Thanks for your input but I've tried that and it hasn't helped in the
slightest.   Does it make any difference that I'm using Cake 2.

Currently I have:

    function beforeFilter() {
        echo "BeforeFilterLog";
        if(isset($this->Security) && $this->action == 'tracker') {
            echo "SettingFalse";
            $this->Security->validatePost = false;
        }
        parent::beforeFilter();
        $this->Auth->allow('tracker', 'trackPlayer');
    }

as my beforeFilter function and am getting the echos out.  So
something happens after that to stop the process.   The top of my
action function looks like:

    public function tracker() {
        echo "tracker";
        //We don't need a view
        $this->autoRender = false;

        //Is this an Ajax call.
        if ($this->RequestHandler->isAjax()) {

        ....


but this echo never gets called so the function is obviously being
binned before then.  Could it be something due to Auth?

Really appreciate the help especially if you have any other ideas

Chris.



On Dec 8, 4:45 pm, Miles J <mileswjohn...@gmail.com> wrote:
> Yeah I ran into this as well, Jose has the correct answer.
>
> https://github.com/milesj/cake-ajax_handler/blob/master/Controller/Co...
>
> On Dec 8, 12:54 pm, José Lorenzo <jose....@gmail.com> wrote:
>
>
>
>
>
>
>
> > set 'validatePost' => false for the security component in that action

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to