• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Authenticating Users

Now that you’ve defined all the preliminaries for dynamic Web pages, you can add a login page to your site. The login page collects a user ID and password from the learner and checks it against the database. This exercise assumes that you’ve set up the database used with the Learning Site extension described in Chapter 14. You can jump ahead to that chapter now, or you can follow along, creating the ASP page and then test it after you’ve completed Chapter 14.

After the learner has been authenticated by successfully logging in, each Web page in your site needs to have code added to check for an authenticated user. After you create the login page, you’ll add the authentication code to each page. When this code has been added, you need to log in to the Web site every time you test a Web page, so this step should always be your last one when developing an eLearning application.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint