Viewers: in countries Watching now:
An important but little-understood concept in dynamic web development is that of role-based logins, which allow different types of users to access different parts of the site. In this course Adobe Certified Expert Candyce Mairs shows how to use Dreamweaver's features to create role-based logins, restrict page access, build an administrator area, and test everything to make sure it works. Plus, see how to set up a development environment and work with a database from within Dreamweaver. Along the way, build your skills in areas like working with PHP, adding form validation, using server behaviors, and much more.
What we have left to do with our Admin User Update portion is to actually do the testing on this process. In order to test, I must go back to the User List page. Now, what does happen if somebody comes to the User Update page accidentally? Well, first of all, we have that page restricted, so only users logged in as admin can access this page. So, anybody who wants to access this page, must be an admin user.
I can view this page, or at least attempt, and this is what would happen. Now, once I do become an actual logged in admin user, I would be able to see that page. I'll show you that piece, but there's no data populated within the form itself. Now, what we might want to do, if we're concerned about this occurring, is put a redirect on this page, sending the users to the other page. That's a bit beyond the scope of what we can cover in this course.
I just want to make you aware of it. So we will go back to the Admin User List page. I am logged in, so I should be able to get to that page to start the process by typing it in the browser. Looks like I am no longer (LAUGH) logged in, so I will login once again. As I said, this is the difficulty of setting up the Login area prior to doing this within the Login area. Okay, so here is our information. My last user ID is correct, but I'm going to go out and modify John's. Now, the important part of this process is to do a lot of testing here. You want to make sure there are no issues within this area. So I will click number 3, here is John's information.
We're going to update John, so I will put in some new information. This is John Smith, his country will be Austria. And let's see about his information. Now, I can also try and modify his role, change him to Admin. If I click Update User Details, notice John's information has been updated perfectly. He is now an Admin role. So, we know this is working.
I don't want you to have to watch me fully test this area, but go ahead and populate this information. I tried to make it very easy for you to be able to see that the information was modified and make sure that you switch roles of users as well. This area should be working properly, but if you find any issues, hopefully, in the previous movies throughout this course, especially within this Admin Area, I've shown you some things that can occur and how to correct them. So if you have any issues within this area, make sure you go back and walk through the movie once again for that particular task that you want to accomplish.
So that is our Administrative Area to update users information within the database. Thank you for taking this course. I love showing new people how Dreamweaver can make these features fairly easy to work in without much coding. There's a lot of code that Dreamweaver created for us. If you move into Code View, you will begin to appreciate that fact and best of luck with your own Login areas.
There are currently no FAQs about Dynamic Dreamweaver Websites: Creating Login Areas.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.