Logging out with a PHP server behavior Dreamweaver and PHP


show more Logging out with a PHP server behavior provides you with in-depth training on Business. Taught by David Gassner as part of the Dreamweaver with PHP and MySQL show less
please wait ...

Logging out with a PHP server behavior

In other videos in this chapter, I've described how to build a login form and compare values that the user types in to values in the database, and then I showed how to protect various pages of your web site, so that unauthenticated users can't see them. Now, I'm going to show you how to create a log out link that allows a user to explicitly log out from the web site. I'm working in the file explorerlist.php in the explorers folder of the current site root. When you create a log out operation, you can either add a link to an existing page, or you can create an external log out page.

I'm going to use the first option, adding a log out operation to a single page. I'll scroll down in the page to the Explorers section and click after the last item under the Explorers menu, Video Podcast. Then I'll go to Code View. I'm going to add a new list item after the video podcast. I'll click after the ending tag for </li>, and then I'll create a new <li&g...

Logging out with a PHP server behavior
Video duration: 3m 59s 4h 55m Intermediate Updated Jun 12, 2012

Viewers:

Logging out with a PHP server behavior provides you with in-depth training on Business. Taught by David Gassner as part of the Dreamweaver with PHP and MySQL

Subjects:
Business Developer Web
Software:
Dreamweaver
Author:
please wait ...