618545
617
Zoom out
Zoom in
Previous page
1/661
Next page
610
USING DREAMWEAVER
Building applications visually
Last updated 3/28/2012
The next step in creating a registration page is to add the Insert Record server behavior to insert records in the table of
users in the database.
Update the database table of users
You must add an Insert Record server behavior to the registration page to update the table of users in the database.
1 In the Server Behaviors panel (Window > Server Behaviors), click the Plus (+) button and select Insert Record from
the pop-up menu.
The Insert Record dialog box appears.
2 Complete the dialog box, making sure to specify the table of users in the database into which the user data will be
inserted. Click OK.
The final step in creating a registration page is to make sure the user name is not used by another registered user.
More Help topics
Build an insert page block by block” on page 589
Add a server behavior to ensure a unique user name
You can add a server behavior to a user registration page that verifies that the user name is unique before adding that
user to your database of registered users.
When the user clicks the Submit button on the registration page, the server behavior compares the user name entered
by the user against the user names stored in a database table of registered users. If no matching user name is found in
the database table, the server behavior carries out the insert record operation normally. If a matching user name is
found, the server behavior cancels the insert record operation and opens a new page (usually a page alerting the user
that the user name is already taken).
1 In the Server Behaviors panel (Window > Server Behaviors), click the Plus (+) button and select User
Authentication
> Check New Username from the pop-up menu.
2 In the Username Field pop-up menu, select the form text field that your visitors use to enter a user name.
3 In the If Already Exists, Go To box, specify a page to open if a matching user name is found in the database table,
and click OK.
The opened page should alert the user that the user name is already taken and let the user try again.
Building a login page
About login pages
Your web application can contain a page that lets registered users log in to the site.
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.
617


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 CS5.5 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 CS5.5 in the language / languages: English as an attachment in your email.

The manual is 21,23 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 CS5.5

Adobe DREAMWEAVER CS5.5 User Manual - German - 753 pages

Adobe DREAMWEAVER CS5.5 User Manual - Dutch - 725 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