<<Up     Contents

Active Server Pages

Active Server Pages (ASP) is Microsoft's server-side technology for dynamically-generated web pages that is marketed as an adjunct to Internet Information Server (IIS). ASP has gone through four major iterations, ASP 1.0 (distributed with IIS 3.0), ASP 2.0 (distributed with IIS 4.0), ASP 3.0 (distributed with IIS 5.0) and ASP.NET (part of the Microsoft .NET platform). The pre-.NET versions are currently (2002) referred to as "classic" ASP.

In the latest classic ASP, ASP 3.0, there are six built-in[?] objects that are available to the programmer, Application, ASPError, Request, Response, Server and Session. Each object corresponds to a group of frequently-used functionality useful for creating dynamic web pages.

Pages can be generated by mixing server-side scripting code (including database access) with HTML and client-side[?] code. For example:

<%if x=1 then%>
     <b>X equals one</b>
<%else%>
     <b>X is not one</b>
<%end if%>

This code results in the html

<b>X equals one</b>
when the server-side variable X=1.

Programming ASP websites is made easier by various built-in objects, such as a cookie-based session object that maintains variables from page to page.

In early 2002, standard ASP is being replaced by ASP.NET[?], which among other things replaces scripting languages with full-fledged[?] Visual Basic, C#, or any other .NET-supported language.

According to news reports in 2002, the market share of ASP is in decline, with the free open source alternative PHP overtaking it in the server-side scripting market.

External links

wikipedia.org dumped 2003-03-17 with terodump