ASP instance


Basics

Write text with ASP

Add HTML to text

Variables

Declare variables

Declare arrays

Loop to generate HTML titles

Use Vbscript to make time-based greetings

Use JavaScript to make time-based greetings

Date/Time function (VBScript )

Date and time

Get the name of the day

Get the name of the month

Get today’s month and day

3000 years Countdown

Count N days from today

Format date and time

Is this a date?

Other functions (VBScript)

Uppercase or lowercase strings

Remove leading and trailing spaces from strings

How to convert a string?

Rounding

A random number

Returns a specific character from a string

Replaces a specific character in a string

From a character Returns the specified number of characters in the string

Program

Calls a subroutine using VBScript

Calls a subroutine using JavaScript

Calls a subroutine using VBScript and JavaScript Subroutine

Form

Use method="get" form

Use method="post" form

Use radio button form

Cookie

Welcome cookie

Response object

Write text using ASP

Use HTML tags to format text in ASP

Redirect the user to a different URL

Display random links

Control the cache

Clear the cache

Terminate the script while processing and Return results

Set how many minutes to cache the page in the browser before it expires

Set the expiration date or time for the page to be cached in the browser

Check whether the user is still Connecting to the server

Set the content type

Set the character set

Request object

Link url passes parameters

A simple QueryString collection Application

Getting information from a form

Getting more information from a form

Simple application of a form collection

How to use information from a form

Get more information from the form

Form with radio buttons

Form with checkbox

How to get the visitor's browser type, IP address or More

Get all requested server variables

Welcome cookie

Total number of bytes sent by the user

Session object

Return SessionID

Session timeout

Server object

When was the last time this file was modified?

Open and read a text file

Homemade click counter

FileSystem Object

Does the file specified by the object exist?

Does the specified folder exist?

Does the specified drive exist?

Get the name of a specified drive

Get the name of the parent folder of a specified path

Get the file extension

Get the file or file The base name of the folder

TextStream object

Read a text file

Read a part of a text file

Read a line of a text file

Read all lines of the text file

Skip part of the text file

Skip one line of the text file

Return the number of lines

Get the column Number

Drive object

Get the number of free space of the specified drive

Get the remaining space capacity of the specified drive

Get the total capacity of the specified drive

Get the drive letter of the specified drive

Get the drive type of the specified drive

Get the file system information of the specified drive

Is the drive ready?

Get the path of the specified drive

Get the root folder of the specified drive

Get the serial number of the specified drive

File object

When the file was created

When this file was modified

When this file was accessed

Return the attributes of the specified file

Dictionary object

Does the specified key exist?

Return an array of all items

Return an array of all keys

Return the value of an item

Set a key

Return the number of key/item pairs

AdRotator Component

Simple AdRotator instance

Browser Capabilities Component

The type of browser for each visit to the website , performance and version number

ContentRotator Component

Content Rotator Component

Content Linking Component

Content Linking Component

Content Linking Component 2