cake-php@googlegroups.com
[Top] [All Lists]

Re: "Keep me logged in" feature - how to do this?

Subject: Re: "Keep me logged in" feature - how to do this?
From: Miles J
Date: Fri, 11 Mar 2011 17:17:27 -0800 PST
https://github.com/milesj/cake-auto_login

On Mar 11, 2:53 pm, Alejandro Gómez Fernández <agom...@xxxxxxxxx>
wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Depends on your requirements, you can do this simply with a cookie, or
> implement something more secure, using for example, a dyndns client,
> some data stored in your database, time to live stored in the cookie,
> some hash stored in the cookie and the database ...  Posibly you need to
> check or force the connection by ssl. There are many posibilities ...
>
> Please, tell us what are you needed and we maybe can provide some ideas.
>
> Regards,
>
> Alejandro G mez.
>
> El 11/03/2011 16:13, DigitalDude escribi :
>
>
>
> > Hey,
>
> > I'm going to need a function called "Keep me logged in" in my app, and
> > I'm not sure how to do this. You've all probably seen such a feature,
> > I'm assuming it means that a cookie or sth else is stored on the
> > user's machine that will tell the browser or the cake app that a user
> > is still logged in with his/her data.
>
> > I know some users delete all cookies when they close their browsers
> > (as I do) and this feature will have no effect for them, but for all
> > other users I want this feature to work.
>
> > Does any one of you ever coded such a feature or has any idea where to
> > get information on this?
>
> > Regards,
>
> > DD
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (MingW32)
> Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org/
>
> iQEcBAEBAgAGBQJNeqfkAAoJEHQn9CmeN9DJAusH/1BBaIwv74hsBJgL9LWmezaq
> k7+k5jSKY+dF12Oyk2nNF36sbRQ0M0JtS3k3k2SHdVfCuKjiFcqFIyMjl3PWwgaj
> DbNDTJY6Lle7zqy4RYdoza1yIFVTkgpJ4IPtw1LpU9H8pw40Ep+nEOTK8NGaQP+i
> e+vIvkM3Y9zQmlNIAPINuBkzVIjD054iCgEe3YVt7GV4TMmXuu9oDc1U8O+J/1Lf
> 1tUD4uxR8ZI+aWbDuFX7ENrcBnTKav6ldpGfQJtkglEUW16D48DTgR8g7P/QLuiP
> b8uqdjYWKmkqBcGOokldbwpd+mtb9v+qEl9KA5uJOmo2M1FAcPu79YE1745DRgc=
> =KIWV
> -----END PGP SIGNATURE-----

-- 
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@xxxxxxxxxxxxxxxx For more options, visit this group at 
http://groups.google.com/group/cake-php

<Prev in Thread] Current Thread [Next in Thread>