This domain name is for sale. To make an offer please send an email to

Learn about ASP

Compare the Best ASP hosting

ASP, which stands for Active Server Pages, is Microsoft's first successful stab at a web programming language. It was very popular on Windows servers. ASP is a server-side, scripting language that can be embedded in HTML to generate dynamic web pages. ASP code is interpreted by the web server which then outputs a web page to the browsers.

ASP's Capabilities

ASP is very similar to PHP. It is usually only supported on Windows servers but there have been a few attempts to make it work on a Linux server such as Sun's Chilisoft. ASP can be used to send and receive email, connect to other servers, process form information, store information in a database, create cookies or sessions in a web browser, and much more. It can connect to several types of databases but it often uses MS SQL. ASP also supports functions (blocks of code that can do specific things over and over) and objects (groups of functions that represent real-world objects like a book or a user).

Learn about ASP's syntax

ASP has a very simple and easy to understand syntax. Syntax is the wording and way that the language has to be used for it to work. ASP is very flexible so it is a great language for beginners to start learning how to program. Like any programming language, ASP has variables but they don’t have to be "typed". They can hold any type of value (text, numbers or arrays) and you can change their type at any time. Here are some important things to learn about ASP:

  • Filename. ASP files need to end with the .asp extension so that the web servers knows to parse through them and write out the dynamic information.
  • Delimiters. Because ASP is usually embedded with HTML you need to specify what part of the page is PHP and what part is just static HTML. To do this, you use <% and %>. For example: <p><% Response.Write "Hello World! World!" %></p> would print "Hello World" within a paragraph tag so you would browser would see <p>Hello World!</p>.
  • Variables. Variables hold different types of data. They are not case-sensitive.
  • Comments. To comment out code you use the apostrophe (').

You can code ASP in any text editor but there are many ASP editors that support syntax highlighting and other features.

We recommend that you learn ASP from ASP Free which has hundreds of tutorials and articles. Sitepoint also offers some great ASP tutorials and W3 Schools has one of the simplest introductions to ASP around. We also recommend learning ASP using a book from the library or one of the following:

If you are looking for some web hosting to use ASP on, check out our comparison of the best ASP hosting or use our Hosting Wizard to find web hosting that best meets your needs.

© Host Shopper | Web Host Comparisons | All Rights Reserved