http://web2py.com/books/default/chapter/29/09#Manual-Authentication
On Thursday, September 20, 2012 2:17:05 PM UTC-4, 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 <leonel...@gmail.com<javascript:> > > 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/** >>> article/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 >>> >> -- >> >> >> >> > > --