Databases Reference
In-Depth Information
8.
Click
Next
.
9.
Set
Target Is A
to
Page in This Application,
as shown in Figure
5-32
.
Figure 5-32.
Specifying the target page
10.
For
Page
, enter
101
. This will send the user back to the login page after they've logged out.
11.
Click
Next
.
12.
Set
Condition Type
to
User is the Public User (user has not authenticated)
, as shown in
Figure
5-33
.
Figure 5-33.
Navigation bar conditions
13.
Click
Create
.
Run the application now. If you're logged in, you only see the Logout navigation bar entry. Click the Logout link.
Once you're logged out, you see the new navigation item, as shown in Figure
5-34
. This identifies a small problem:
the Logout link can still be seen even though you've already logged out.