You can't. Unless the user clicks a "logout" button, you have no idea when the user leaves your site or closes the browser.
Wayne On 10/11/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > HI > I have this banal problem but I can't resolve it. > I would destroy a CakeSession when the user close the browser or exit > from my web site. > How can I do it? > Many thanks > Marco > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
