<%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.