Letting Users Manage Passwords People forget their passwords (Kids web site)

Letting Users Manage Passwords People forget their passwords all the time. And the last thing you need is to be spending all your time reminding people of their forgotten passwords. So your site needs a means of allowing users to retrieve their own passwords. Likewise, users have to be able to change their own passwords, so your site will need that capability too. In the Login category of the Toolbox, the PasswordRecovery and ChangePassword controls are just the ticket. Using the PasswordRecovery control The PasswordRecovery control provides a way for a user to retrieve a forgotten password. (Actually, with the default hashed encryption used in Visual Web Developer, it sends them a new password that they can use to log on). In Drag Figure 7-14: LoggedIn Template contains text and Login Name and Login Status controls. Chapter 7: Working with ASP.NET Controls 141 Multiple views for multiple roles The LoginView control isn t limited to showing two different views. If your site contains numerous roles, you can use the Edit Role Groups option on the Common Tasks menu to define multiple views for multiple roles. In the RoleGroup Collection Editor, use the Add button to add a RoleGroup placeholder to the left column. Then, to the right of the Roles column in the right column type a valid role name from your site, and then click OK. You can repeat the process to add multiple role groups. After you ve created a RoleGroup, you can design what it shows to its members by clicking the Views option on the Common Tasks menu and choosing the new RoleGroup name. In other words, whatever you put in the Login View control at this point is visible only to people in the specified role.
Note: If you are looking for high quality webhost to host and run your jsp application check Vision florida web design services

Leave a Reply