Encyclopedia > Active Server Pages

  Article Content

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



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
BBC News 24

... first broadcast in November 1997 and at first only cable television subscribers could view it. In 1999, with the advent of digital television in the UK, satellite ...

 
 
 
This page was created in 21.2 ms