618541
667
Zoom out
Zoom in
Previous page
1/691
Next page
660
Building applications visually
Last updated 2/19/2015
A login page is made up of the following building blocks:
A database table of registered users
An HTML form to let users enter a user name and password
A Log In User server behavior to make sure the entered user name and password are valid
A session variable consisting of the user name is created for the user when the user logs in successfully.
Create a database table of registered users
You need a database table of registered users to verify that the user name and password entered in the login page are
valid.
Use your database application and a registration page to create the table. For instructions, see the related topic link
below.
The next step in building a login page is to add an HTML form to the page to let users log in. See the next topic for
instructions.
Add an HTML form to let users log in
You add an HTML form to the page to let users log in by entering a user name and password.
1 Create a page (File > New > Blank Page), and lay out your login page using the Dreamweaver design tools.
2 Add an HTML form by placing the insertion point where you want the form to appear and choosing Form from the
Insert menu.
An empty form is created on the page. You may have to enable Invisible Elements (View > Visual Aids > Invisible
Elements) to see the forms boundaries, which are represented by thin red lines.
3 Name the HTML form by clicking the <form> tag at the bottom of the Document window to select the form,
opening the Property inspector (Window > Properties), and entering a name in the Form Name box.
You dont have to specify an action or method attribute for the form to tell it where and how to send the record data
when the user clicks the Submit button. The Log In User server behavior sets these attributes for you.
4 Add a user name and a password text field (Insert > Form > Text Field) to the form.
Add labels (either as text or images) beside each text field, and line up the text fields by placing them inside an
HTML table and setting the tables border attribute to 0.
5 Add a Submit button to the form (Insert > Form > Button).
You can change the label of the Submit button by selecting the button, opening the Property inspector (Window >
Properties), and entering a new value in the Label box.
The next step in building a login page is to add the Log In User server behavior to verify that the entered user name
and password are valid.
Verify the user name and password
You must add a Log In User server behavior to the login page to ensure that the user name and password that a user
enters are valid.
667


Need help? Post your question in this forum.

Forumrules


Report abuse

Libble takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Product:

For example, Anti-Semitic content, racist content, or material that could result in a violent physical act.

For example, a credit card number, a personal identification number, or an unlisted home address. Note that email addresses and full names are not considered private information.

Forumrules

To achieve meaningful questions, we apply the following rules:

Register

Register getting emails for Adobe Dreamweaver CC - 2014 at:


You will receive an email to register for one or both of the options.


Get your user manual by e-mail

Enter your email address to receive the manual of Adobe Dreamweaver CC - 2014 in the language / languages: English as an attachment in your email.

The manual is 24,32 mb in size.

 

You will receive the manual in your email within minutes. If you have not received an email, then probably have entered the wrong email address or your mailbox is too full. In addition, it may be that your ISP may have a maximum size for emails to receive.

Others manual(s) of Adobe Dreamweaver CC - 2014

Adobe Dreamweaver CC - 2014 User Manual - German - 731 pages

Adobe Dreamweaver CC - 2014 User Manual - Dutch - 718 pages


The manual is sent by email. Check your email

If you have not received an email with the manual within fifteen minutes, it may be that you have a entered a wrong email address or that your ISP has set a maximum size to receive email that is smaller than the size of the manual.

The email address you have provided is not correct.

Please check the email address and correct it.

Your question is posted on this page

Would you like to receive an email when new answers and questions are posted? Please enter your email address.



Info