Sample Code 
-
This snippet demonstrates how to send a redirect (302) to a client without halting execution.. 
-
Demonstrates how to select the appropriate items in a multi-select listbox, and then return the new selected values to the database.. 
-
Provides source code for a calendar to embed in your ASP applications. 
-
How to speed up your website by allowing browsers to cache web pages.. 
-
ASP Fractal shows the ways and means of using VBScripts in an Active Server Page for creating one of the most powerful virtual graphics in HTML. The source code is also provided for altering it to suit your needs.. 
-
There are times when it is useful to redirect a visitor to different default web page based on the visitor's country of origin. One practical usage is to redirect visitor to web page with the language recognized by the visitor. This article shows you how using ASP and ActiveX component this can be done.
. 
-
You can design stored procedures to hide such complexities, leaving a more concise interface available for application development. This demonstrates how to use the ADO Command object to call these SQL Stored Procedures.. 
-
This ASP code shows how to send binary data (such as images) to the client without building a new component.. 
-
This simple code will show how to display a date in an Active Server Pages.. 
-
This code will allow the programmer to retrieve the width, height, and depth of a jpg and gif that are remotely hosted.. 
-
This is a very simple and neat script that allows you to determine the time (in Milli seconds) required to execute the code in an ASP page.. 
-
Count down the number of days to a date.. 
-
dbHit: A simple traffic logger I tossed together in the start of my ASP coding days. It simply collects data from your visitors and stores it in MS Access 97 mdb file.. 
-
How to split up a recordset into multiple pages using ADO and ASP. 
-
How to get information about the visitors browser. 
-
How to get the number of visitors currently online. 
-
A horizontal percentage gauge class for your ASP scripts. 
-
How to determine the Server-Side Scripting Language and Version. 
-
Prevent any nasty errors from Server.CreateObject... check that the component is installed first!. 
-
How to read the contents of a file from ASP using the FileSystemObject. 
-
How to get the visitors IP address from within your ASP script. 
-
How to create a VBScript/ASP equivilant of the VB IIF statement. 
-
How to determine whether files on a server exist using the ServerXMLHTTP object. 
-
How to reuse ADO recordsets without destroying them first. 
-
How to rename files using the FileSystemObject. 
-
How to iterate arrays with the For Each statement. 
-
Why you shouldn't explicitly set the page language in ASP. 
-
How to prevent your pages from being cached. 
-
A few tips on planning in advance debugging in your ASP pages. 
-
How to limit the size of the HTTP request buffer. 
-
How to create a robot information for 'web spiders' controlling what pages are indexed by search engines on your site. 
-
Another way to control spider indexing on your site. 
-
Stop browsers automatically loading known file types into the browser window, forcing it to open the download dialog instead. 
-
How to dynamically include files in ASP. 
-
How to determine the current user when using the Basic or NT Challenge/Response security. 
-
How to use transactions in ASP. 
-
How to disable maintaining states for performance benefits in ASP. 
-
How to integrate web content into your site using the Internet Transfer control. 
-
Protect both your server-side and client-side scripting by using the MS encoding utility. 
-
Determine how fast your ASP scripts really are. 
-
Certain lists look better with the first letter of each word capitalized. As an intermediate user, it took awhile to develop this for use in ASP pages, but here is a small function to perform this no. 
-
Automatically generate a HTML form from an SQL query. 
-
The pros and cons of buffering pages!. 
-
Why you should use local variables wherever possible!. 
-
How to prevent image caching. 