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

User Authentication

UltraDev 4.0 and later versions introduced a series of User Authentication server behaviors to the system. Unlike the other behaviors, these really don't modify data or change the way it is displayed. Instead, the user authentication behaviors provide a means of restricting Web page access to a group of people. The basis of these behaviors is a database table that you will have to maintain. This table should contain usernames and passwords, in plain text. UltraDev's behaviors will check this information and compare it to a user's input from a form. If they match up, a session variable called MM_Username is set. On subsequent pages, this session variable can be checked to see if the user has access to the page. There are a total of four different authentication behaviors, which we'll take a look at now.

Log In User

The Log In User behavior, shown in Figure 9.15, has a rather large configuration screen, but is really very easy to set up. This behavior should be added directly to a login screen. Everything is handled automatically—all you need to do is supply a form.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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