| The information in this article applies to: Microsoft FrontPage 98 for Windows
Microsoft FrontPage 97 for Windows with Bonus Pack
Microsoft FrontPage for Windows, versions 1.0, 1.1
Microsoft FrontPage for Macintosh, version 1.0
 
 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 access to or to 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 <Root Web> and create a protected Web. The <Root
Web> is created automatically when you install the FrontPage server
extensions on your server. The <Root Web> acts as a gatekeeper to the
protected Web because it forces users to register before they access your
Web. The protected Web will allow only registered users to access it.
 
You can set up a registration form on the <Root Web> only; you
cannot set one up on another Web.
 
NOTE: Windows NT security and Microsoft Internet Information Server (IIS) do
not allow registration through a Web browser. For more
information, please see the following article in the Microsoft Knowledge
Base:
 
    ARTICLE-ID: Q155770
   TITLE     : FP: Registration WebBot not Supported on IIS Web Server
 To create the registration formYou 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 supplies Form WebBot components, which are form
handlers for most common types of forms.Start the FrontPage Personal Web Server.
Start the FrontPage Explorer.
On the File menu, click Open Web.
Select the Web server where you want to locate the registration Web,
   and then click the List Webs button.
Select <Root Web> from the Webs box, and then click OK.
Type your name and password and then click OK.
   The FrontPage Explorer opens the <Root Web>.
Select the home page (or any other page that you want to use to
   restrict access), and then click Open on the Edit menu to start the
   FrontPage Editor.
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.
Type a name in the Name box, and then click the OK button.
   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.
Position the insertion point within the dashed boundary of the
    form to insert a form field for the password. Point to Form Field on
    the Insert menu, and click One-Line Text Box.
Type a name in the Name field, select Yes next to the Password
    Field option, and then 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.
If you want to add a second field for password confirmation, repeat
    steps 10-11.
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
    -----------------------------------------
     a. In the Name field, type a name.
 
     b. In the Value/Label field, type a label (such as Submit).
 
     c. Next to Button Type, select Submit, and then click OK.
 
     Use these properties for the second button
    ------------------------------------------
     a. In the Name field, type a name.
 
     b. In the Value/Label field, type a label (such as Reset).
 
     c. Next to Button Type, select Reset, and then click OK.
 
 
 To configure the registration form using the WebBot Registration form handlerWith the right mouse button, click within the dashed boundary of the
   form area on your page and click Properties on the shortcut menu.
   In The Text Box Properties dialog box, click the Form button.
   The Form Properties dialog box appears.
In the Form Handler list, select Registration bot, and then click
   Settings.
Click the Registration tab, and type the name of the protected Web in
   the Web Name box. You can specify either an existing Web or a new Web.
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 in this field must exactly match the name you
   entered in the Text Box Properties dialog box. This field is case
   sensitive.
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 in this field must exactly match the name you entered in
   the Text Box Properties dialog box. This field is case sensitive.
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 in this field must exactly match the name
   you entered in the Text Box Properties dialog box in Step 12. This
   field is case sensitive.
If you want to use a secure password, one that has six or more
   characters and does not match the user name, then select the Require
   Secure Password option.
Select the Results tab. In the File for Results field, type a name
   for 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, and then
   click OK to return to the Form Properties dialog box.
Click OK to return to the Text Box Properties dialog box.
Click OK to return to the page.
Add labels to identify the form fields, and add any other pertinent
    information to your form.
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 WebBot Registration component 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 WebBot
   Registration component will not function. It will only function if it is
   saved to the root Web.
 
 To create a protected WebSwitch to the FrontPage Explorer.
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.
Select the template you want to use and click OK.
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, then
   click OK.
On the Tools menu, click Permissions, and then select the Settings
   tab.
Select the Use Unique Permissions for this Web option, and then
   click the Apply button.
Select the End Users tab, select the "Yes, Registered Users Only"
   option, and then click the Apply button.
   NOTE: If this option is already selected, you must select it again.
Click OK.
 |