im replaced $this->Session->start() to $this->Session->activate() and its work!
Thanks to all! On 15 мар, 20:49, majna <[email protected]> wrote: > put in AppController::beforeFilter() > > if (isset($this->params['admin'])) > { > $this->Session->start(); > > } > > On Mar 14, 11:15 pm, Cake <[email protected]> wrote: > > > > > Hi All! > > I need to use Sessions only for admin section. How I can to do it? > > > Example: > > > core.php: > > Configure::write('Session.start', false); > > > app_controller.php: > > if(isset($this->params['admin'])) > > { > > Configure::write('Session.start', true); > > > } > > > Its not work. > > Help me pls. > > > p.s. sry for my bad english > > 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 -~----------~----~----~----~------~----~------~--~---
