Not all websites are meant to be public, and even an open, publicly accessible web page can still have a "members only" section. The process of creating a password-protected section of your website can seem daunting, but Dreamweaver 8, the web design application, offers a series of functions that make the process a bit easier. Although Adobe has released several new versions of Dreamweaver since Dreamweaver 8, the program is still perfectly capable of creating a login page. While it is still best left to people comfortable using the program, creating a personalised login page is not nearly as difficult as it may seem at first.
- Skill level:
- Moderately Challenging
Other People Are Reading
Things you need
- Dreamweaver 8
Launch Dreamweaver 8.
Create a new file, or open an existing project.
Open the "Insert" menu and click "Form" to place a form in your document.
Open the "Insert" menu, select "Form" and select "Text Field." Create two text fields in the form you just created: one for the user name, and one for the password.
Open the "Insert" menu, select "Form," and select "Button" to add a submit button to your login form. Label the submit button with something like "Submit," "Log in" or "Click here to continue."
Add text labels next to the user name and password fields, to make the login process more user-friendly.
Designing Login Form
Create a database of valid login information using a database program, such as Microsoft Access. The database should consist of a table containing two columns: valid user names and valid passwords.
Open the Server Behaviors panel. If the panel is not present, open it by going to the "Windows" menu and clicking "Server Behaviors."
Click the "+" button, open the "User Authentication" sub menu and select "Log-in User." This will open the "Log-in User" window.
Select the login form that you created earlier.
Select the page that you would like the user to be redirected to if logging in successfully, as well as the page that you would like the user to be redirected to if the person fails to enter a valid user name and password.
Select the database containing user information. Specify which columns contain valid user names and passwords.
Creating Login Mechanism
- 20 of the funniest online reviews ever
- 14 Biggest lies people tell in online dating sites
- Hilarious things Google thinks you're trying to search for