Major topics covered in this class:
- Multiple Related Checkbox Values
- The Request Object
- Cookies
- Session Variables
- Application Variables
There is a lot of very important material
in this class that you will definitely need to know before moving on to
our intermediate or advanced classes.
We'll start out by learning a special technique
for dealing with forms that have lots of different related checkboxes
on them. For example, you're making a survey asking visitors what their
favorite magazines are. You don't want to have to deal with programming
your ASP scripts to accept 30 different checkboxes, right? I'll show you
a technique to handle them with one statement.
Next we'll study the Request object in more
detail. You'll learn how to get all kinds of interesting information
from your visitors, such as where they came from (what web site),
and what kind of browser they're using. You'll also learn how to
read server environment variables to determine things such as the URL of
the current page.
You will next learn a very important concept that
is vital for almost every good web site: how to track information on
your users in cookies. Cookies allow you to save information
about your visitors right on their own computers, so the next time they
visit your site, you know who they are, and any other information you
might have gathered about them.
Next we'll learn about Session variables
which allow you to store information in the server's memory about the
current visitor, and to remember that information the entire time
they're on your site (such as their username and password, for example).
Finally, you'll learn about Application
variables, which are very similar to Session variables, but they allow
you to save information in memory about the entire web site as a whole -
great for keeping track of how many users are on your site, latest
information, news, and updates. You can use them, for example, to
display a "Live Help is Available" message for your users... and they'll
all see the same message.
You can change the status of your Live Help
using a simple HTML form and ASP script.
Cookies and Session variables are
the two cornerstones of building quality ASP web pages.
Do not miss this class. We'll be
relying on Session variables for almost all of the rest of our ASP
classes, especially when we get involved in database development. |