E-Commerce at Southern New Hampshire University

Page 6 of Downloads for IT - 695

These demos show various methods of maintaining state on the web. Here you will find examples using cookies as well as session variables.


An example of putting in a cookie or two, and viewing the results.

Here is the ASP page used to get user input:

Cookie Interface

The ASP page that processes the cookie information.

Process the Cookie.

See it in action!

Have some Cookies!


Using cookies to set some user requests.

This is the ASP document that gets information from the user.

The input Cookie document.

See it in action!

Make your changes!


Creating and viewing a Session number.

This is the ASP document for setting and viewing the Session number.

The ASP Document.

See it in action!

View my Session Variable


Here is an example of setting a session variable and then displaying the results.

This is the ASP document that sets the session and the variable.

The ASP Document.

See it in action!

See Session Variables


Return to first download page.
Valid XHTML 1.0!