Active Server Pages(ASP)

ASP Tutorial

ASP Tutorial

ASP Projects

ASP Project

ASP Examples



R4R provide basic ASP Tutorials concept with ASP Examples .Through R4R you can develop ASP programming concept. R4R provide ASP Interview Questions with answers.R4R provide ASP Languages study materials in easy way.

What is ASP ?

ASP (Active Server Pages) is a Microsoft Technology, and ASP is a program that runs inside IIS. IIS stands for Internet Information Services it comes as a free component with Windows 2000.

The default scripting language used for writing ASP is VBScript although we can use JavaScript. All ASP pages will be executed at the server and the page will have the extension ".asp".

History of ASP

ASP is the Microsoft's first server-side scripting language used for generating dynamic and interactive pages. Initially, Microsoft added it as an add-on to the IIS (Internet Information Services) for Windows NT 4.0 but after its success, Microsoft included it as a free component of Windows Server after the release of Microsoft Windows 2000 Server.

Different versions of ASP
Version IIS Date
Version 1Microsoft IIS 3.0 December 1996
Version 2Microsoft IIS 4.0September 1997
Version 3Microsoft IIS 5.0 ClientNovember 2000
The current version of ASP 3.0 is available in IIS 6.0 and also IIS 7.0 on Microsoft Windows Server 2008.
Importance of ASP

ASP provides-

  1. Security - since ASP code cannot be viewed from the browser.
  2. Customize a Web page to make it more useful for individual users.
  3. Clever ASP programming can minimize the network traffic
  4. Access any data or databases and return the results to a browser.
  5. Dynamically edit, change, or add any content of a Web page.
  6. Respond to user queries or data submitted from HTML forms.
  7. The advantages of using ASP instead of CGI and Perl, are those of simplicity and speed.
Lifecycle of ASP
ASP Objects
  1. Server Object- Used to access various properties and methods on the server.
  2. Response Object- The server respond using the asp response object.
  3. Request Object- Request object get all the information from the user about the requested page.
  4. Session Object- Considered to be one of the most important and useful object of ASP
  5. .
  6. Application Object- Various ASP files, when grouped together, may result in a complete Application.
  7. Error Object- To display error messages and detailed information about any error that occurs while executing any script.
  1. Makes for quicker loading time since HTML pages are only downloaded.
  2. Minimizes network traffic by limiting the need for the browser and server to talk to each other.
  3. Allows to run programs.
  4. No client side constraints
  5. ODBC links to any data source.
  6. Fast to run.
  1. Pose problems in converting web hosting.
  2. A depreciated language.
  3. Runs only on windows server.
ASP Tutorials
ASP Examples
ASP Interview Materials