O'Reilly logo

Adobe ColdFusion 8 Web Application Construction Kit, Volume 1: Getting Started by Charlie Arehart, Raymond Camden, Ben Forta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a Login Page

The next step is to create a login page, where the user can enter their user name and password. The code in Listing 23.1 is a simple example. This code still doesn’t actually do anything when submitted, but it’s helpful to see that most login pages are built with ordinary <form> or <cfform> code. Nearly all login pages are some variation of this skeleton.

Figure 23.2 shows what the form will look like to a user.

Figure 23.2. Users are forced to log in before they can access sensitive information in this application.

Note

Use type="password" wherever you ask your users to type a password, as shown in Listing 23.2. That ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required