i have the same problem most of them in many ajax (suggest) request,
strategy is simple my script after 4th+n request return sql debug
after that every action were logged out
at past i create fit request controler for eg. xhr_controller >
controller,
so my fit controler loks like
XhrController ext Controller{
$uses = array();
$helpers = array();
$compnenets = array('RequestHandller');
function suggest($field){ // Warning SqlInjection only eg.
App:import('Model'[....]
}
}
UsersController ext AppController{
ad(){....}
}
but my suggest request lok that /xhr/$field/q=....
its work fine but in my reuest i need Auth :>
On 29 Mar, 01:42, rartavia <[email protected]> wrote:
> logout: thanks for your answer, i'm using mayorly (hah nice word) ajax
> calls for my app but there are some not ajax ones and i'm using
> requestAction at least one time witch is suggested using it with
> cache. I'll try $this->disableCache(); under requestHandler->isAjax
> maybe, i'll
> look how that works. But I think the "unexpected behavior" was all
> about what suggested JamesF, the camel cased action names. Now my real
> problem is swfupload /controller/upload action, where my Auth->user
> returns null. Again i'm using 2.2.0 Beta 5 2008-01-29
>
> thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---