Jump to content

Active Server Pages

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 12.21.224.xxx (talk) at 23:13, 11 December 2001. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Microsoft's programming system for dynamically-generated 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%>

    X equals one

<%else%>

    X is not one

<%end if%>


This code results in the html "X equals one" 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.