|
Back to DEB Tips
Dreamweaver
UltraDev: Create a Dynamic Web Page
Once you've decided upon the
server technology you will use, you've set up your server/network
settings and you've connected to your database, you can then
create a dynamic page.
Examples of dynamic content:
-Log-in page
-Search engine
-Shopping cart
-Registration page
Create A Log-in Page
1. Create a dynamic page. The page should
have an .asp, .jsp or .cf extension, depending upon the server
technology you're using..
2. Open the dynamic page and choose Insert...Form
Objects...Text Field. Create two text fields--one should be
for the username and the other for the password the user will
type into the field to gain access to your Web site.
3. Next, label the text fields we just created:
Select the username text field and type "username"
in the text field area on the Property Inspector. Select the
password text field and type "password" in the text
field area on the Property Inspector as well.
4.Now choose Insert...Form Objects...Button
again. Type "Login" in the Label field on the Property
Inspector.
5. With the Login button selected, choose
Window...Server Behaviors.
6. Click the + button on the Server Behaviors
panel and choose User Authentication...Log in user..
7. Choose the DSN connection you created
earlier (the database connection) from the Validate using
connection field. After choosing your DSN, the tables in your
database should appear.
8. Choose the Users table and then select
the appropriate username and password columns.
9. Select the dynamic page you want to take
your visitor to if login succeeds, as well as the page you'll
take the user to if login fails. These pages should already
be created and should include an .asp, .jsp or .cf extension.
We have created a log-in page that will
take the visitor to the appropriate page, depending upon the
username and password used to gain access to your Web site.
Remember, the username and password your user will use must
be the same username and password contained in your database
in order for them to gain access to your site.
Source:
This lesson was developed especially for YOU by Debbie Berg
:-)
WATCH
FOR MORE DEB TIPS TO COME! STOP BY AND SEE MY NEW DEB
TIP EACH MONTH...
Back
to top

about debbie |
debbie's clients | deb's
schedule | deb's monthly tip
flawebdeb home | dreamweaver
| flash | frontpage
| photoshop
web seminar | digital
design camp | dreamweaver/flash
conference

|