Hi, I am working on a login system where user is able to logon just using the cookies unlike the existing system where user logs in using the normal sign in + and that creates remember me cookies.
- abhishek On 20 September 2012 14:54, villas <[email protected]> wrote: > There are functions for this, but what is wrong with the existing > 'remember me' mechanism in Auth? > > > > On Thursday, September 20, 2012 7:17:05 PM UTC+1, Abhishek Gupta wrote: > >> Are there any function in web2py which can help me in creating the user, >> and doing the automatic bare login as in this case? >> >> - abhishek >> >> >> On 20 September 2012 14:14, Leonel Câmara <[email protected]> wrote: >> >>> I guess you could programatically create a dummy user account and then >>> retrieve it and auto login using data on the session. >>> >>> Quinta-feira, 20 de Setembro de 2012 3:22:23 UTC+1, Abhishek Gupta >>> escreveu: >>> >>>> Hi >>>> >>>> First of all, a lot of thanks for such an awesome piece of software. I >>>> am working on a website where I need to implement cookie based logon quite >>>> similar to the system described here http://www.phpnerds.com/**a** >>>> rticle/using-cookies-in-php/2<http://www.phpnerds.com/article/using-cookies-in-php/2> >>>> ** **in php. >>>> >>>> The idea is simple. When a user clicks on "Explore" button for the >>>> first time, a cookie is set on his computer with an expiry date far away. >>>> And he goes through the sign up process. Whenever users clicks on the >>>> button for the next time the cookie is retrieved and used to authenticate >>>> user finally leading him to log in. >>>> >>>> I am comfortable with handling cookies in web2py but I am not able to >>>> understand how can I integrate with existing sign in process (my website >>>> uses facebook and google based sign in forms too with this). >>>> >>>> Thanks in advance >>>> Abhishek >>>> >>> -- >>> >>> >>> >>> >> >> -- > > > > --

