Microsoft KB Archive/194156

= FP98: How to Create a Registration Web =

Article ID: 194156

Article Last Modified on 10/3/2001

-

APPLIES TO


 * Microsoft FrontPage 98 Standard Edition

-



This article was previously published under Q194156



For a Microsoft FrontPage 2000 version of this article, see 207288.

For a Microsoft FrontPage 97 and earlier version of this article, see 143092.



SUMMARY
This article describes how to create a registration Web page. A registration Web page requires user registration and authorization. It allows you to restrict or monitor access to your Web pages.



MORE INFORMATION
To allow a registered user access to your Web, you can set up a registration form in the  and create a protected Web. The  is created automatically when you install the FrontPage Server Extensions on your server. The  acts as a gatekeeper to the protected Web, because it forces users to register before they access your Web. The protected Web allows only registered users to access it.

You can set up a registration form on the  only; you cannot set one on another Web.

NOTE: Windows NT security, Microsoft Internet Information Server (IIS), and Microsoft Personal Web Server do not allow registration through a Web browser. For more information, please see the following article in the Microsoft Knowledge Base:

194452 FP98: Registration Form Not Supported on IIS Web Server

Creating the Registration Form
To create a Registration form, follow these steps:  Start the FrontPage Personal Web Server. Start FrontPage Explorer. On the File menu, click Open Web. Select the Web server where you want to locate the registration Web, and then click List Webs.</li> From the Webs box, select <Root Web>, and then click OK.</li> Type your name and password and click OK.

The FrontPage Explorer opens the <Root Web>.</li> Right-click the home page (or any other page that you want to use to restrict access), and then click Open on the menu that appears.</li> Position the insertion point where you want to place the first registration form field. On the Insert menu, point to Form Field, and click One-Line Text Box.</li> In the Name box, type the name you want and then click OK.

NOTE: The name you type in the Name box is required. You will use it when you define the properties for the form. Note the case of your text.</li> Position the insertion point within the dashed boundary of the form to insert a form field for the password. On the Insert menu, point to Form Field, and click One-Line Text Box.</li> In the Name box, type the name you want. Clik Yes next to the Password Field option and click OK.

NOTE: The name you type in the Name box must be different from the name you used in step 9. This box is required and you will use it when you fill in the form properties.</li> If you want to add a second field for password confirmation, repeat steps 10 and 11.</li> With the insertion point inside the dashed boundary of the form, add two push button fields. To add the push button fields, point to Form Field on the Insert menu, and then click Push Button.

One button will allow the submitter to submit the form; the other button will allow the submitter to reset or clear the fields after the form is submitted.

Use these properties for the first button:

<ol style="list-style-type: lower-alpha;"> In the Name box, type the name you want.</li> In the Value/Label box, type the label you want. For example, type Submit .</li> Next to Button Type, select Submit, and then click OK.</li></ol>

Use these properties for the second button:

<ol style="list-style-type: lower-alpha;"> In the Name box, type the name you want.</li> In the Value/Label box, type the label you want. For example, type Reset .</li> Next to Button Type, select Reset, and then click OK.</li></ol> </li></ol>

You must now define the properties of the form. The most important property is the form handler. A form handler is a program that processes the form on the server. The form handler is called by the server when the form is submitted. FrontPage has Form components (form handlers) for most common types of forms.

Configure the Registration Form
To configure the Registration form, follow these steps:
 * 1) Right-click inside the dashed boundary of the form and then click Properties on the menu that appears.
 * 2) In the Text Box Properties dialog box, click Form.

The Form Properties dialog box appears.
 * 1) From the Form Handler list, select Registration bot, and then click Settings.
 * 2) Click the Registration tab. In the Web Name box, type the name of the protected Web. You can specify either an existing Web or a new Web.
 * 3) In the User Name Fields box, type the name you specified in step 9 in the "To create the registration form" section of this article.

NOTE: The name you use must exactly match the name you entered in the Text Box Properties dialog box. This field is case sensitive.
 * 1) In the Password Field box, type the name you specified for the password field in step 11 of the "To create a registration form" section of this article.

NOTE: The name you use must exactly match the name you entered in the Text Box Properties dialog box. This field is case sensitive.
 * 1) In the Password Confirmation Field box, type the name you specified in Step 12 of the "To create a registration form" section of this article.

NOTE: The name you use must exactly match the name you entered in the Text Box Properties dialog box in Step 12. This field is case sensitive.
 * 1) If you want to use a secure password--one that has six or more characters and does not match the user name--select the Require Secure Password option.
 * 2) Click the Results tab. In the File For Results box, type the name of the file that will contain the list of authorized users of the protected Web. Select a file format and specify any additional information you want to have included in the results file. Click OK to return to the Form Properties dialog box.
 * 3) Click OK two times.
 * 4) Add labels to identify the form fields and add any other pertinent information to your form.
 * 5) Save and close the page.

NOTE: It's a good idea to close the page at this point; if you save the page during the next procedure, for example after step 2 in the "To create a protected Web" section of this article, you may accidentally save the Registration form to a Web other than the root Web. In step 2 in the "To create a protected Web" section of this article, you open another Web; that is, the root Web is no longer open. So, if the form is open and you attempt to save it, the FrontPage Editor will prompt you to save it to the current Web. If you do, the Registration component will not function. It will only function if it is saved to the root Web.

Create a Protected Web
To create a protected web, follow these steps:
 * 1) Switch to FrontPage Explorer.
 * 2) If you created a new Web in step 3, click New Web on the File menu. If you specified an existing Web in step 3, click Open Web on the File menu, and then skip to step 4.
 * 3) Select the template you want to use and click OK.
 * 4) Select the Web server, type the Web name you used in step 3 of the "To configure the registration form using the WebBot Registration form handler" section of this article, and then click OK.

If you a have not already entered your name and password, enter that information in the Name And Password Required dialog box, and then click OK.
 * 1) On the Tools menu, click Permissions, and then click the Settings tab.
 * 2) Select the Use Unique Permissions for this Web option, and then click the Apply button.
 * 3) Click the End Users tab. Click the "Yes, Registered Users Only" option, and then click the Apply button.

NOTE: If this option is already selected, you must select it again.
 * 1) Click OK.

Additional query words: Front page vermeer

Keywords: kbinfo KB194156

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.