SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 1795 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"

Dreamweaver supplies a full
complement of server behaviors to support authenticating the user against a specified data source. The user
authentication server behaviors are not available for .NET.
Log In User
The Log In User server behavior redirects authorized users to one page and unauthorized users to another
and creates a session variable for the username.
Requirements: A recordset, a form, appropriate form elements for a username and a password, and a
Submit button.
1. From the Server Behaviors panel, click the Add (+) button and choose User Authentication ??? Log
In User. The Log In User dialog box is displayed, as shown in Figure 34-13.
FIGURE 34-13
The Log In User server behavior verifies that the user may be granted access.
CROSS-REF CROSS-REF
1066
Extending Dreamweaver Part VII
2. If there is more than one form on the page, select the form containing the username and password
fields from the Get Input From Form list.
3. Select the form element used to gather the username from the Username Field list.
4. Select the form element used to gather the password from the Password Field list.
5. Choose a connection to the data source containing the table of registered users from the Validate
Using Connection list.
6. Select the table of registered users from the Table list.


Pages:
1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807