6. Click OK when you??™re finished.
For more information on the Restrict Access To Page server behavior, see Chapter 23.
Log Out User
The Log Out User server behavior clears the username session variable established by the Log In User server
behavior and redirects the user to an exit page. You can set up the Log Out User server behavior so that a
user selects a link to log out or is automatically logged out when a particular page, such as one confirming
the completion of an order, is viewed.
Requirements: A Log In User server behavior on another page.
To use the Log Out User server behavior, follow these steps:
1. To apply the server behavior to a specific link on the page, select that link.
2. From the Server Behaviors panel, click the Add (+) button and choose User Authentication ??? Log
Out User. The Log Out User dialog box displays (see Figure 34-15).
FIGURE 34-15
You can log a user out automatically by choosing the Log Out When Page Loads option on
an order confirmation page.
CROSS-REF CROSS-REF
1068
Extending Dreamweaver Part VII
3. To trigger the server behavior with a link, choose the Log Out When Link Clicked option and
make sure that your selected link is chosen in the list. If no link was preselected, Dreamweaver
offers to apply the server behavior to a new link, Log Out.
Pages:
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810