Thursday, May 31, 2012

Re: Logout user on browser close

PHP uses a browser cookie to store the visitors session id. The only other way is to daisy chain the ID on the URL....... you don't want that trust me :-)

On May 31, 2012 8:02 AM, "Andrés Manikis" <andresmanikis@gmail.com> wrote:
Another thing to note.
In the cookbook explains that the user data is stored in a cookie. I don't want that. I would like to store the user data in a session so after closure the session expires and the user is not logged in anymore.

Thanks

El jueves, 31 de mayo de 2012 11:48:09 UTC-3, Andrés Manikis escribió:
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
cake-php+unsubscribe@googlegroups.com 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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: