Here you will find some working examples of pages using ASP to achieve different results, some are straight forward while others use multiple pages to get the required results.
This example creates a new html page each time a form is submitted, and could be easily modified to create a plain text file for logging purposes or any situation where you need to create a file on the host server.
As you will see once the page has been created it is
immediately available via hyperlink, so you can view the
output and it also lists any previous pages created.
This is an example of passing values through the URL to
a second page where the information passed through the
URL is then used to complete part of a form with pre
Remove Characters Function
A handy little function to remove or strip characters
out of a string
Date and Time Functions
This is a function I use whenever I pass a date and/or time to a
database, it saves the need for formatting the date in
the correct format for the database as it passes the
date as 1 January 2009 and the database then converts it
to the format it requires.
Date Time Functions
Append XML File
A function that writes data to an XML file, can be used
to collect form data from users saving the need for a
database if you just want a guest book or the ability
for users to make comments.
Append XML File
AJAX is a combination of languages used to update
elements on a web page without the need to reload the
entire page. This example uses a single AJAX function to
update multiple elements on the same page, using
parameters passed to the function to define the page
elements to update and also the server page that is
called to generate the required results.
This function will return the results of a database query
as either a standard recordset or an array. The function
includes a query test feature so you can test the
results of your query to check the results are what you