In application1 when the user is registered you can load the session variables you need and access them from application2
session.connect(request,response,masterapp='application1') Put it in a model in application2 and you can access to the session variables fro mapplication1, without accessing auth_user_table. Regards On Friday, 31 August 2012 12:06:19 UTC+2, Pradeeshnarayan wrote: > > I have two different web2py application. (different database) > > I have a requirement like. My second application (application2) can be > used by only users whose registered in the first application (application1). > > I am planing to implement a login form in my application2. And on submit > it will send the username and password to a funtion in application1. > > Application1 function will recieve two values username and password as > string, and check in the database, if there is a record with this values in > auth_user table then return true. > > But in the auth_user table pasword is already encrypted. So please let me > know how I can encrypt my password string value and match with the database > value. > > Also please let me know if there is any better way to implement this > requirement. > > --

