This website will be used to demonstrate Active Server Pages.  Where a link is to an ASP file, I have included a Source Code link as well.  To see the source code,  click on the Source Code link and then View Source in IE or View, Page Source in Netscape.  If you are viewing this page on my Erols account, the ASP pages will not function, so you may wish to switch to this page on my NVCC faculty account, this page on my NVCC student account, or this page on my Brinkster account..

VBScript ASP

JavaScript ASP

Example One (Using Request.Form) - Passes form values to next page but not beyond

First page with form - can be regular HTML page + Source Code of ASP file that is specified in Action attribute of Form tag

Example Two (Using Session Object) - Attempts to assign form value to Session object but produces error. In IE, page may not even load but in Netscape the page loads but produces error message.

First page with form - same as HTML page before + Source Code of ASP file that is specified in Action attribute of Form tag

Example Three (Using Session Object) - Writes form value to Session object by concatenating something to form value before assigning to Session object and therefore form value available on next page and other pages

First page with form - same at HTML page before + Source Code of ASP file that is specified in Action attribute of Form tag

Example Four - Password Testing Using Request.Form (the correct password is IST227) + Source Code of ASP file that is specified in Action attribute of Form tag

Example Five - Adding Records and Displaying Selected Records from a Relational Database + Source Code of ASP file that is specifed in Action Attribute of Form tag + Source Code of ASP file that first ASP file links to

Revised: July 14, 2002 Comments to William Pegram, wpegram@nvcc.edu