New Feature: Playlist Center! Pick a topic and let our playlists guide the way.

Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Testing the login

From: Dynamic Dreamweaver Websites: Creating Login Areas

Video: Testing the login

Now that we have added the functionality to register as a new user as a guest account. Once you're registered, login to the Members Area, which is this page you're looking at. And have access to any of the Members Area pages. And those are the pages that all begin with the word Members. You want to spend plenty of time in this section testing all those functionality pieces. Just to make sure there's no errors in what you've set up and testing static pages does not take too much time. However, testing functionality of your dynamic websites takes a lot longer. So, make sure you do full testing and I also try and find somebody else. At least one or two other people who can test for me also. Once you've been looking at these pages over and over and you think you've run through all the functionality and have it working correctly, it's amazing what a new set of eyes on the page.

Testing the login

Now that we have added the functionality to register as a new user as a guest account. Once you're registered, login to the Members Area, which is this page you're looking at. And have access to any of the Members Area pages. And those are the pages that all begin with the word Members. You want to spend plenty of time in this section testing all those functionality pieces. Just to make sure there's no errors in what you've set up and testing static pages does not take too much time. However, testing functionality of your dynamic websites takes a lot longer. So, make sure you do full testing and I also try and find somebody else. At least one or two other people who can test for me also. Once you've been looking at these pages over and over and you think you've run through all the functionality and have it working correctly, it's amazing what a new set of eyes on the page.

In other words, new people looking at this page maybe able to find for you. Now, I've created the functionality. That does not mean all of these Members Area pages are completed. So, I want to point this out. The Member's Photos page, we do not have photos yet. Ideally, what we're going to do is set up a clickable link within this area to add photos, or we may put in a really nice, fancy photo gallery right here.

The functionality for that piece has not been determined, so I just have these funny letters in here as my signal. Okay, we haven't completed that portion of this page. Notice Videos page, this link is not working either. So, there's a lot of little pieces with regards to the content on each page. All we did was set up the functionality piece. Now, in order to test that you may want to go and activate a lot more of these links that aren't previously set up. But I'll start in the Members Home section.

If I Preview this page in the browser, it sends me to Login. If I perform my login, once this is completed, I should be able to go out to any Members Area page, within this particular browser. Here is the Photos page. And for now, I'm just going to hit the Back button. We also, at Scuba2u, haven't decided if we want to create a full secondary Nav bar, or how to handle this information. So, I'll just hit the Back arrow, your users you don't want have to do that, but for now it works. Here's the Videos page.

Notice I'm able to click around without needing a login. As soon as I close my browser and go back in, I have to login again. So technically, in PHP, when you close the browser, I've logged out of my session. Now, the other thing that you should be aware of is these logins are stored per browser. (audio playing) So, if I login in Firefox, that does not mean that if I go out to Internet Explorer, and this is a Firefox extension, that allows me to do that.

It's on my browser's page within my resources, called IE view. But notice, I have to login when I get to Internet Explorer. Each browser stores its own login information. So, being logged in in one browser does not log you into another. And you can use that when you're testing functionality. If you're logged in on one, you can go through it and then in another browser, you can go through the process all over again or simultaneously.

So, just be aware it is per browser. When I close these, my session will close, and I'm no longer logged in. But make sure you spend the time to have multiple people check and register on the site. Also login on the site, and try and move around. The more you can test in development, the less issues you will have. Because we don't want this to be a live site and find out we have problems. So, that is setting up a login area within Dreamweaver.

And using Dreamweaver server behaviors to make this a fairly simple process. We still have an administrative area for the database to build. But for our standard members, the functionality is all set.

Show transcript

This video is part of

Image for Dynamic Dreamweaver Websites: Creating Login Areas
Dynamic Dreamweaver Websites: Creating Login Areas

43 video lessons · 1553 viewers

Candyce Mairs
Author

 
Expand all | Collapse all
  1. 1m 32s
    1. Welcome
      1m 32s
  2. 2m 57s
    1. Course overview
      1m 16s
    2. The course environment
      1m 41s
  3. 26m 58s
    1. Static vs. dynamic requests
      4m 8s
    2. Installing XAMPP on a Windows system
      8m 54s
    3. Installing MAMP on a Mac system
      4m 29s
    4. Using admin consoles
      3m 54s
    5. Installing the course files
      5m 33s
  4. 18m 36s
    1. Overview of the Dreamweaver interface
      6m 22s
    2. Setting up the course site
      6m 20s
    3. Previewing pages
      5m 54s
  5. 33m 38s
    1. Creating PHP pages
      5m 45s
    2. Adding PHP code
      5m 44s
    3. Displaying variables
      4m 45s
    4. Commenting your code
      5m 30s
    5. Working with includes
      5m 58s
    6. Building the course templates
      5m 56s
  6. 35m 13s
    1. What is a database?
      5m 2s
    2. Adding database tables
      7m 34s
    3. Connecting to the database
      8m 28s
    4. Getting data from a database: Part one
      8m 25s
    5. Getting data from a database: Part two
      5m 44s
  7. 1h 16m
    1. Planning the login process
      7m 25s
    2. Creating a login form
      7m 45s
    3. Adding form validation: Part one
      9m 22s
    4. Adding form validation: Part two
      1m 37s
    5. Exploring the registration page
      7m 17s
    6. Correcting table fields
      6m 1s
    7. Setting up the login landing page
      4m 1s
    8. Using server behaviors
      3m 36s
    9. Inserting new members
      8m 48s
    10. User authentication
      10m 3s
    11. Restricting access to pages
      5m 17s
    12. Testing the login
      4m 53s
  8. 1h 6m
    1. Admin area overview
      5m 9s
    2. Adding new users
      5m 19s
    3. Restricting access
      12m 25s
    4. Planning the admin update area
      5m 19s
    5. Building the members table listing
      6m 55s
    6. Building the querystring
      9m 14s
    7. Populating the update form
      6m 33s
    8. Updating the database data
      11m 28s
    9. Testing the admin update process
      3m 47s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold

Are you sure you want to delete this note?

No

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.