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