Chapter 24. Advanced Dynamic Site Features

Dreamweaver’s basic database capabilities are impressive. But there may come a time when you need to dig deeper into the program to build successful Web applications. Dreamweaver’s advanced features let you, the mere mortal, do things that the pros do every day, like password-protecting pages, displaying (or hiding) content based on database results, and accessing information from forms, cookies, and URLs.

Password-Protecting Web Pages

Although Dreamweaver lets you create Web pages that can add, edit, and delete records from a database, your ebusiness wouldn’t last very long if just anyone could remove orders from your online ordering system or view credit card information stored in your customers’ records. And certainly your company’s executives wouldn’t be happy if someone accessed the staff directory database, and changed their titles from, for example, CEO to Chief Bozo. For these and other reasons, Dreamweaver provides a simple set of tools for locking your pages away from prying eyes.

The User Authentication server behaviors can password-protect any page on your site. With this feature, you can limit areas of your site to registered users only, allow customers to access and update their contact information, create maintenance pages accessible only to administrators, or personalize Web pages with customized messages (“Welcome back, Dave”).


ASP.NET note—Dreamweaver MX 2004 does not provide any User Authentication behaviors for ASP.NET. ...

Get Dreamweaver MX 2004: The Missing Manual now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.