Use session destroy as stated in the CakePHP documentation at http://book.cakephp.org/view/404/destroy Enjoy, John
On Mar 30, 11:49 am, Petr Vytlačil <petr.vytla...@gmail.com> wrote: > Hi i need destry sessions after close browser windows. I need logout > user from admin section when he close browser windows. If now close > browser windows and startup browser, he can go to admin section. I use > CakePHP 1.2. > > THX --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---