Macromedia dreamweaver 8-using dreamweaver User Manual

Page of 1030
Building pages that restrict access to your site (ColdFusion, ASP, JSP, PHP)
875
A registration page is made up of the following building blocks:
A database table to store login information about the users (see 
An HTML form that lets users select a user name and password (see 
You can also use the form to obtain other personal information from users.
An Insert Record server behavior to update the database table of site users (see 
)
A Check New Username server behavior to make sure the user name entered by the user is 
not taken by another user (see 
Storing login information about users
A registration page requires a database table to store the login information entered by users. 
Make sure your database table contains a user name and a password column. If you want 
logged-in users to have different access privileges, include an access privilege column (see 
).
If you want to set a common password for all users of the site, configure your database 
application (Microsoft Access, Microsoft SQL Server, Oracle, and so on) to enter the 
password in each new user record by default. In most database applications, you can set a 
column to a default value each time a new record is created. Set the default value to the 
password.
You can also use the database table to store other useful information about the user.
The next step in creating a registration page is to add an HTML form to the registration page 
to let users choose a user name and password (if applicable). 
Related topics
Letting users choose a user name and password
You add an HTML form to the registration page to let users select a user name and password 
(if applicable).