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 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 > --