Economical Australian Domain Names
Home » Articles » ASP Tutorials » ASP Processing Directive
ASP Processing Directive

As ASP is the server-side scripting language, we write codes in an ASP file that will be executed by the Web Server. Therefore, we have to tell the Web Server what scripting language is used in our code by mentioning ASP Processing Directive at the top of the ASP file. This is also called as script commends as it convey the scripts information of the particular ASP file to the Web Server. The Precessing Directive can be only one in an ASP page and it must be placed at the top of the page. We can write Processing Directive like this.

<%@ Directive=Value%>

 

In this syntex, Directive is the reserved ASP directive keyword and Value is the value that is assigned for the directive. Here is an example of the above syntex.

<%@ Language="VBScript"%>

 

We have replaced the reserved keyword "Language" in place of "Directive" and set its value to "VBScript". So, the Web Server that is hosting the ASP file will understand how to process the ASP codes in it.

This is a one-stop website that meets all your online business needs.This website offer domain registration, web hosting, email hosting, secure ssl certificate, internet software products and development services.
©2004-2009 EcoWeb4u Web Solutions | Queensland, Australia. All trademarks are the property of their respective owners.
A.B.N: 96 996 282 647