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 1796 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"


7. Choose the field containing the username from the Username Column list.
8. Choose the field containing the password from the Password Column list.
9. Enter the path to the page for the authorized user in the If Log In Succeeds, Go To field.
10. If you want the user to proceed to the previously selected link, rather than the page entered in
step 9, select the Go To Previous URL option.
11. Enter the path to the page for the unauthorized user in the If Log In Fails, Go To field.
12. If access levels should be evaluated as part of the authentication:
n Select the Restrict Access Based On Username, Password, and Access Level option.
n Choose the data source field containing the access level data from the Get Level From list.
13. Click OK when you??™re finished.
For more information on the Log In User server behavior, see Chapter 23.
Restrict Access To Page
The Restrict Access To Page server behavior prevents unauthorized users from viewing specific pages by
checking a session variable. After it is defined, the server behavior can be copied and pasted onto another
page by using the context menu commands from the Server Behaviors panel.
Requirements: A dynamic page.
To apply the Restrict Access To Page server behavior, follow these steps:
1. From the Server Behaviors panel, click the Add (+) button and choose User Authentication ???
Restrict Access To Page.


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