Home page
 
 Home 
 ASP 
 PHP 
 SQL 
 HTML 
 JavaScript 
 Search 
 Contact 
 
Search
or browse popular tags
Subscription

Sign up for the free email newsletter for new tips, tutorials and more. Enter your email address below, and then click the button.

Privacy Policy

RSS Twitter

All pages tagged ASP

Sending email with ASP

In this article we demonstrate how to generate and send emails with ASP using CDOSYS - Microsoft's improved interface for SMTP email. You will learn how to send text and html emails, emails with attachments, use a remote server, load recipients from a database, set the priority / importance of an email and request a read/return receipt. More...

ASP: How to connect to MS SQL Server database

In this tutorial we will show you how to connect to a MS SQL Server database using a DSN and without a DSN. More...

Tags: ASP CONNECTION DATABASE MSSQL DSN DRIVER RECORDSET SQL Hits: 90903 Comments: 5

ASP: How to Encrypt Passwords in the Database

If you are developing a password-protected web site, you have to make a decision about how to store user password information securely. This article will show you how to encrypt user passwords with md5 algorithm and how to start using encrypted passwords if you already have users' database ready. More...

ASP: How to connect to MySQL database

In this tutorial we will show you how to connect to MySQL database using a DSN and without a DSN. More...

ASP: How to connect to database using a connection string

The power of Active Server Pages comes through when we tie databases to our web sites. To connect to a database, ASP uses what is called ActiveX Data Objects, or ADO for short. ADO comes with ASP, and can be used easily from your ASP pages. In this tutorial we will show you how to connect to our Access database and retrieve all the records from the table. More...

Tags: ASP CONNECTION DATABASE ADO ACCESS OLEDB ODBC SQL RETRIEVE PRINT Hits: 62275 Comments: 2

ASP: How to Get the Current Page URL

Sometimes, you might want to get the current page URL that is shown in the browser URL window. For example if you want to let your visitors submit a blog post to Digg you need to get that same exact URL. There are plenty of other reasons as well. In this tutorial we will show how you can do that. More...

Tags: ASP CURRENT URL SERVER BROWSER Hits: 61059 Comments: 8

ASP: How to process the data submitted from HTML form

The great advantage of ASP is possibility to respond to user queries or data submitted from HTML forms. You can process information gathered by an HTML form and use ASP code to make decisions based off this information to create dynamic web pages. This tutorial demonstrates how to create an HTML form and process the data. More...

ASP: Arrays

There are two types of VBScript arrays - static and dynamic. Static arrays remain with fixed size throughout their life span. To use static VBScript arrays you need to know upfront the maximum number of elements this array will contain. If you need more flexible VBScript arrays with variable index size, then you can use dynamic VBScript arrays. VBScript dynamic arrays index size can be increased/decreased during their life span. Further in this article author explains how to create static arrays and how to create and resize dynamic arrays, giving working examples. More...

Tags: ASP ARRAYS STATIC DYNAMIC INDEX SIZE RESIZE EXAMPLES Hits: 41884 Comments: 4

ASP: Looping Statements

ASP performs several types of repetitive operations, called "looping". Loops are set of instructions used to repeat the same block of code till a specified condition returns false or true depending on how you need it. This tutorial shows the basic idea on how to use looping statements in ASP, along with examples, and descriptions of the examples. More...

ASP: Multidimensional Arrays

Arrays do not have to be a simple list of keys and values; each location in the array can hold another array. This way, you can create a multi-dimensional array. The reason you may use this type of array is when you have records of each item. For example, car, year, price,... and you want display one record at a time. In this article principles of using two-dimensional arrays are explained and source code defining two-dimensional array and displaying the array values on the web page is given. More...

Tags: ASP ARRAYS MULTIDIMENSIONAL MATRIX RECORDS UBOUND Hits: 40256 Comments: 2

ASP: Conditional Statements

Sometimes when you write code, you want to perform different actions for different decisions. You can use conditional statements in your code to do this. There are two types of conditional statements in ASP: if...then and select case. In this tutorial we will will show you how to use both of them. More...

Tags: ASP CONDITIONALS IF SELECT SWITCH CONDITION ACTION Hits: 38443 Comments: 0

ASP: Functions and Subprocedures

You can write functions in ASP similar to the way you write them in Visual Basic. It is good programming practice to use functions to modularize your code and to better provide reuse. This article explains benefits of using functions and subprocedures, shows difference between them, and gives code for function that prints out info or takes an integer value and returns the square of that value. More...

ASP Response Object

The Response object is used to send output to the client from the web server. In this tutorial the syntax, collections, properties and methods of the ASP Response object are described. More...

How to install ASP on your own computer

It's not difficult to install and run ASP on your own computer. To do that, you must install Microsoft's Personal Web Server (PWS) or Internet Information Services (IIS). More...

Tags: ASP INSTALLATION IIS PWS WINDOWS HOW-TO MICROSOFT Hits: 27708 Comments: 0

ASP Request Object

The Request object retrieves the values that the client browser passed to the server during an HTTP request. It is used to get information from the user. Using this object, you can dynamically create web pages and perform various server-side actions based on input from the user. In this tutorial the syntax, collections, properties and methods of the ASP Request object are described. More...

ASP FileSystemObject Object

The FileSystemObject object provides access to the file system on the web server, allowing us to manipulate text files, folders and drives from within our code. In this tutorial the properties and methods of the FileSystemObject object are described. More...

ASP: Variables

Declaring variables in ASP is simple. You don't have to declare if your variable is an integer, string, or object. You just declare it, and it has the potential to be anything. To declare a variable in ASP/VBScript we use the Dim statement. If you wanted to print out the variables, you could use the ASP Response.Write command. Learn more about the rules for declaring and naming variables in ASP/VBScript and use of Option Explicit statement in our article Variables in ASP. More...

ASP: Cookies

A cookie is a message given to a Web browser by a Web server. The main purpose of cookies is to identify users and possibly prepare customized Web pages for them. This article explains benefits of using cookies and shows how to create and retrieve them. Dictionary cookies are also explained. More...

ASP: Troubleshooting Active Server Pages (ASP) on Windows 2003

This article will help you to find answers to the problems some users have with ASP on Windows 2003. More...

Tags: ASP WINDOWS TROUBLESHOOTING QUESTIONS PROBLEMS ANSWERS LINKS Hits: 25337 Comments: 0

ASP Dictionary Object

The Dictionary object is used to store name/value pairs (referred to as the key and item respectively). The Dictionary object is like an associative array, but with its own built-in functionality that looks after the basic tasks of storing and manipulating the data, and sizing for the required number of elements. More...

ASP Session Object

The Session object stores information needed for a particular user's session on the web server. It is automatically created every time when an ASP page from the web site or web application is requested by a user who does not already have a session, and it remains available until the session expires. In this tutorial the syntax, collections, properties, methods and events of the ASP Session object are described. More...

ASP Server Object

The Server object provides access to properties and methods on the server. Much of functionality it provides is simply functionality the web server itself uses in the normal processing of client requests and server responses. In this tutorial the syntax, properties and methods of the ASP Server object are described. More...

ASP: How to connect to database with a DSN

DSN stands for 'Data Source Name'. It is an easy way to assign useful and easily rememberable names to data sources which may not be limited to databases alone. In this tutorial we will show you how to connect with a DSN to an Access database called 'examples.mdb' and retrieve all the records from the table. More...

What is ASP?

ASP stands for Active Server Pages. It is a server side technology that enables you to make dynamic and interactive web pages that are not affected by the type of browser the web site visitor is using. More...

ASP Application Object

The Application object is used to control and manage all items that are available to all users of an Active Server application. The Application items can be variables needed for all users in the application, or they can be instantiated objects that provide special server-side functionality. In this tutorial the syntax, collections, methods and events of the ASP Application object are described. More...

ASP: Constants

Constants just as variables are used to store information. The main difference between constants and variables is that constant value can not be changed in the process of running program. If we attempt to re-assign the value of the constant we'll get a run time error. More...

Tags: ASP CONSTANTS VARIABLES DECLARING CONST KEYWORDS Hits: 17881 Comments: 1

Your First ASP Page

This tutorial explains the basics of ASP. It demonstrates how to declare the variables, to do a comment, to output the results and display in a web page time and date on the web server. More...

ASP TextStream Object

The TextStream object provides sequential access to the contents of text files. This allows you to read, write, or append characters or lines to a text file. In this tutorial the properties and methods of the TextStream object are described. More...

ASP File Object

The File object represents a specified file on the local machine or on a network share. To work with the File object's properties and methods, you need to create an instance of the FileSystemObject object first and then instantiate the File object through the GetFile method. Also you can get a File object reference from the Folder object, by using the Files Collection. More...

Tags: ASP FILE SCRIPTING OBJECTS FILESYSTEMOBJECT FOLDER REFERENCE Hits: 13624 Comments: 0

ASP Folder Object

The folder object represents a specified file folder on the current machine. We can use the properties and methods of the Folder object to traverse directories on the drive, and to get at all the properties of this or any other folder. To work with the Folder object's properties and methods, you need to create an instance of the FileSystemObject object first and then instantiate the Folder object through the GetFolder method. Also you can get a Folder object reference from the Drive object, by using the RootFolder property. More...

What can ASP do for you?

List with some of possibilities that ASP provides you with. More...

ASP ASPError Object

The ASPError object is a new in ASP 3.0, and is available in IIS5 and later. It provides a range of detailed information about the last error that occurred in script in an ASP page. The ASPError object is only available through the GetLastError method of the Server object. In this tutorial the syntax and properties of the ASPError object are described. More...

ASP Drive Object

The Drive object represents a physical drive. This drive can exist on your machine, or it can be a drive shared by another machine. To work with the Drive object's properties, you need to create an instance of the FileSystemObject object first and then instantiate the Drive object through the GetDrive method or the Drives property of the FileSystemObject object. More...




Tags:

Add To: Add to dzone dzone | Digg this digg | Add to del.icio.us del.icio.us | Stumble it stumbleupon

  • Comments





Copyright © 2005-2014             www.WebCheatSheet.com All Rights Reserved.