On Thursday, June 9, 2011 8:54:07 AM UTC-4, anil manikyam wrote: > > created in html > login: > password: > when i entered the submit button it compare with the values in > database. > if correct go to another page > send the web2py code 2 my email
Are you asking how to do this? If so, look at http://web2py.com/book/default/chapter/08#Authentication (note, the relevant code is already set up for you in the 'welcome' app -- auth is defined in /models/db.py, the auth actions are handled by the user() function in /controllers/default.py, and the view is in /views/default/user.html). By default, after login, it redirects to /default/index, but you can change that by setting auth.settings.login_next (see http://web2py.com/book/default/chapter/08#Settings-and-Messages). Anthony