Setting The Primary Scripting Language

Domain Hosting image
Web Hosting
Dedicated server
ssl certificate
Web Design image
Email

The ASP primary Scripting language is the language used to process commands inside the < % and % > delimiters. By default, the primary scripting language is VBScript. You can use any scripting language for which you have a script engine as the primary Scripting language. You can set the primary scripting language on a page by page basis, or for all pages in an ASP application.

Setting the Language for a Page

To set the primary scripting language for a single page, add the <%@ LANGUAGE %> directive to the beginning of your asp file. The syntax fat this directive is:

< %@ LANGUAGE = Scripting Language % >

Where Scripting Language is the primary scripting language that you want to set for that particular page. The setting for a page overrides the global setting for all pages in the application. .

To use a language that does not support the Object. Method syntax as the primary scripting language, you must first create the Language Engines registry key.

Setting the Language for an Application

To set the Primary scripting language for all pages in an application, the set the Default ASP Language property on the App options tab in Internet Service Manager.



Domain Name Search

www.


Copyright (C) 2007. Web Domain design hosting. All rights reserved.