14. Click the Create User button to have the account created for you. When the page reloads, you get a
confi rmation that the account was created successfully. Click the Login item from the main Menu or
TreeView (depending on the theme you currently have selected). You are taken to Login.aspx
again where the LoginStatus control below the Login control
now indicates that you are logged in (see Figure 16-6). When you
create a new account using the CreateUserWizard, you’re logged
in automatically, although you can change that behavior by setting
the LoginCreatedUser property of the control to false.
15. Click the Logout link and you are logged out, causing the
LoginStatus to display the text Login again. In the Login control,
enter the username and password you entered in step 13
and click the Log In button. You’re logged in and redirected to
the homepage. On the main Menu or TreeView, click Login to
return to the Login page again. Note that the LoginStatus has changed and now shows Logout
again, illustrating the fact that you successfully logged in.
At this stage, being logged in doesn’t add much value; all you see is the LoginStatus change from
Login to Logout. However, later in this chapter you see how to offer different content to logged-in
users.