Use a session cookie vs a cookie set to expire at a future date. This will
clear the cookie every time the browser closes
On May 31, 2012 7:48 AM, "Andrés Manikis" <[email protected]> wrote:

> Hello, i'm trying to force logout after I close the browser but I don't
> know how to do it.
> If I close the browser without logging out and then I go back to the
> application the user is still logged in.
>
> Is there a way to configure Auth to logout users after I close the browser?
>
> Thank you!
> Andrés
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> [email protected] For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to