hi, some new information about this problem:
if i change the type from 'digest' to 'basic', the server accepts the admin/password, but i have to enter it at every page request. gbk On márc. 26, 12:33, "gbk *" <[EMAIL PROTECTED]> wrote: > hi, > > i need some help in the following problem: > > my cakephp version: 1.2.0.6311. > > i have configured digest auth for my admin actions in the > app_controller: > > function beforeFilter() { > if(isset($this->params[Configure::read('Routing.admin')])){ > $this->Security->requireLogin('*', array('users' => array( > 'admin' =>'password'), 'type'=>'digest', > 'realm'=>'admin')); > } > > } > > it's working perfectly for the admin actions except when paginator > comes in the picture. > > my action (urls_controller): > > function admin_getBrokenUrls() { > $this->set('brokenUrls', $this->paginate('Url', > array('repair_count'=>10))); > > } > > the first page (/admin/urls/getBrokenUrls/) is ok, but when i try > other pages (/admin/urls/getBrokenUrls/page:2) i get back 401 http > response code all the time. it's strange, because i've already > authenticated. the other strange thing is, if i enter the admin/ > password after a page call it's not working. the server doesn't accept > it. > > gbk --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---