To verify that the process worked, you can (Hosting web)
To verify that the process worked, you can choose Website . ASP.NET Configuration from the menu bar to open the Web Site Administration Tool. Click the Security tab, and then click Manage Users. The new user should be listed. If you added code to add the user to a role, click the Edit Roles link for that user. The check box should be filled already, indicating that the user is in the role. When you have a way for users to create an account on your site, the next thing they need is a way to log in with their user names and passwords. That s where the Login control comes into play. Creating a Login Page People who have already created accounts at your site need a place to sign in. Some of the other Login controls assume that page is in the site s root folder and named Login.aspx. So if you haven t already done so, you should create that page now by following the usual steps: 1. In Solution Explorer, right-click the site folder at the top of the folder hierarchy and choose Add New Item. 2. In the Add New Item dialog box, choose Web Form. 3. Name the page Login.aspx. 4. Choose C# as the language and choose Place Code In Separate File. Whether or not you choose to use a Master Page is entirely up to you. 5. Click the Add button. If you opted to use a Master Page, click the Master Page s folder, and then click the Master Page filename and click OK. I created my Login page using a table with two rows and two columns, and typed in a couple column headings as described in Chapter 5. I dragged the Login control from the Toolbox into the lower-right cell. I used its Common Tasks menu to apply the Classic scheme. Figure 7-10 shows the Login tool (highlighted in the Toolbox) and a Login control placed under the Already a Member? heading in a table. In the cell to the left of the Login control, I typed the Sign Up Now! text and selected it. Then I used the Convert to Hyperlink button in the toolbar to browse to the CreateAcct.aspx page I created previously. (In the Hyperlink dialog box, the Type appears as (other) and the URL as the name of the page.) Click OK, and the page offers non-members a way to create an account right now. Chapter 7: Working with ASP.NET Controls 135
Note: In case you are looking for affordable and reliable webhost to host and run your j2ee application check Vision best web hosting services